I have something in operation that may be similar to what you are looking for.
I have a Raspberry that runs ffmpeg and captures RTSP stream videos from an IP camera. Saving in TS format in fragments that are sent via FTP to a remote server. In my case the images do not need to be transmitted immediately, so a cron script runs periodically uploading the videos. I am not allowed to run ffmpeg on the server, so I used Raspberry as an intermediary.
Ffmpeg is a powerful multimedia and multiplatform utility and if you can run it directly on the desktop server and the camera network is accessible from the server, you don't need the Raspberry. The server running ffmpeg fetches images from the camera, even on different networks, as long as it has permission to access. This solution has a low delay.
If I may have a word about cameras, there are some cheap cameras with a feature commercially called "star light" that allow great nighttime images in color even in low light. Thus, camera with RTSP support and "star light". I preferred to use one of these instead of the Raspberry camera module, because they are more resistant to the weather.