Recently, we bought two VL-ZCams to provide a livestream for our church. These cams are not equipped with the NDI protocol, but the video is being transmitted by RTSP. The RTSP-stream is set as an VLC-source into OBS. All the hardware is running on a dedicated gigabit-network.
Last days I am Google-ing for solutions to minimize latency. Most of the reactions on internet are speaking of latency around 100-200 ms for different setups with NDI-cameras. In our case there's a latency of almost a second. Is it because of not using NDI, but RTSP?
Thanks in advance!
Congratulations on the two (2) new ZCams!
The latency you're seeing is definitely well above average and is definitely not to the unit operating with RTSP instead of using NDI.
The average latency you;ve identified is spot on 100ms - 200ms with a number of factors at play.
In an attempt to get to the bottom of this I am hoping to gain a bit more insight into your current network and PC setup...
I am hoping with some, or all, of the answers above we can begin to narrow in on the root of your latency issue.
We look forward to hearing from you again soon.
PTZOptics Support Information
Phone: 1-800-486-5276 x.1004
(must be signed in / logged in to submit ticket)
Thanks for your response. It will take a little more time to gather all the required information. The reason is that our church is located in a shared building. We share the internet connection with another company. I'll have to ask another company for i.e. the router specs (we'll work on that. One of our church members is requesting a seperate internet connection at the telecom provider, so in the future we have our own dedicated internet connection/network)
But, for now I have some other information:
Thomas, have you gotten any further with your latency issue?
I have a web cam (logitech), web cam embedded on my laptop, and an NDI camera in addition to the PTZOptics 20x camera. I am also using RTSP and am also seeing about 1 second of latency where I don't on the NDI camera. My camera doesn't natively work with NDI without a pricey license (no thank you). I'm just wondering if you found any magical configurations that helped you with your latency?
To reduce RTSP latency in OBS use the gStreamer plugin instead of the built in Media source. More details here: https://obsproject.com/forum/threads/rtsp-stream-from-ip-camera-delay-in-input-in-preview.112518/post-488456
I'm wondering what the recommended gstreamer plugin pipeline settings in OBS would be the PTZ Optics 30x SDI camera?
I have the gstreamer plugin working in OBS, but I'm noticing no improvments of latency. It's about 1250ms with the regular OBS source.
Assigned static IPs in the same network block 192.168.0.2xx plugged into the same switch.
Do you know if you have the NTP, Network Time Protocol, option enabled on your PTZOptics camera?
This can be found in the Network Section of the cameras Web Interface, once enabled it will like help with your latency issue.
You can find a full article on using this feature and it's benefits below
If you have any other questions please do not hesitate to return to the forums.
The last note in this thread is over 5 months ago, is there any additional information? Did the time synchronization fix the problem or are there still issues?
From what we have seen, the newest firmware should have all the tools to sync up the camera feeds with the audio. This can still be tough doing on certain networks and it doesn't always work perfectly, but should be sync-able with the tools the cameras have, mainly the NTP server setting.
I did get the gstreamer plugin to work and achieved a latency as low as 250ms compared to 1250ms without. I found it a bit tricky to get working without a guide.