I have a Dahua digital camera with which I want to write video from an rtsp stream to a host machine (Linux ubuntu server). I use openRTSP, a script has already been written for work, control, etc. . I start recording in a loop and pass the file name in the parameters (current time and date). When recording starts, there is a delay of 5 seconds. to receive parameters from the camera and establish a connection. But if you forward the port to this machine and run the same entry from another host, there is no delay. And here is the question - why is there a delay and how to get rid of it?

  • By recording from another host, do you mean receiving the same stream to another host? - sercxjo
  • Yes . The reason is already found - Netfilter. - Shoolcs

0