High latency when playing an RTSP stream
Hi,
I currently have an issue when watching an RTSP stream where I have an higher latency compared to other media player. This happens on both vlc 3.0.6 and vlc 4.0.0.
When doing several comparison, I came to the conclusion that vlc has on average an higher general latency (on average over 500ms) compared to GStreamer (320ms) and ONVIF Device Manager, which uses live555 (290ms).
While I can understand that a 200ms difference is rather insignificant, for my usage with several PTZ (Pan, tilt, zoom) cameras, this difference makes controlling the cameras harder and I find myself overshooting where I wanted to go.
Commands used :
VLC : vlc.exe --no-audio --network-caching=0 rtsp://url GStreamer : gst-launch-1.0.exe -v playbin uri=rtsp://url uridecodebin0:::latency=0
You can check logs and screenshots attached to this ticket