This is something that is very normal for RTSP.
We generally see 500-2000 milliseconds of latency using the Media Source for RTSP feeds in OBS. Using the VLC source does get the latency slightly lower, but recently we have found the use of a GStreamer source to be the best latency for the RTSP feeds. This does take some additional setup. but it works great with minimal latency.
- Copy the obs-gstreamer.dll from
- Unzip the download, open it and copy the file to your OBS Plugins (64 bit) folder.
- Download and Install the following
- Search for "Edit the System Environment Variables" to open System Properties.
- Click the "Environmental Variables" Window.
- Find the listing that says "Path", and click Edit.
- Click "New" then enter the path as it appears on your machine to get to the GStreamer bin folder.
For example: C:\gstreamer\1.0\mingw_x86_64\bin\
- Open up OBS and go to add a source, you should see GStreamer as an option. For pulling in the camera feed, use this string:
rtspsrc location="rtsp://admin:[email protected]:554/1" latency=0 buffer-mode=auto ! rtph264depay ! h264parse ! d3d11h264dec ! video.
In this example admin:admin is the default username and password of the camera.
(192.168.14.114 is my camera setup on my network here on site, you would use your own cameras IP address.)