Question / Help Streaming to localhost via SRT protocol is delayed

mister-j

New Member
Hello, I am following the guide posted at: https://obsproject.com/wiki/Streaming-With-SRT-Protocol
On that page, it explains that the delay for SRT should be <1 second, but streaming from OBS to VLC on the same computer experiences a delay around 3 seconds.

I am using the method where OBS acts as a listen-server, so I have configured my stream destination string to the following:
srt://127.0.0.1:43560?mode=listener
I then open this from VLC and the stream displays perfectly at 720p30 but with 3 seconds of lag.
I tried switching between NVENC and QSV encoders for video, and noticed no difference. I can stream from this same computer to any other on my LAN with hardly noticeable delay using NVidia's gamestream (Moonlight), so I know that it is not a hardware or resource issue.
I also tried adding another switch for latency in the string (srt://127.0.0.1:43560?mode=listener&latency=10) but this did not change the result.
I checked my OBS advanced options, and stream delay is disabled. I temporarily enabled the stream delay @ 1sec as a test, and saw 4 total seconds of delay.

Log file from a test: https://obsproject.com/logs/Ap_qYMxyrT1zZvb5
 

Attachments

  • 2020-03-29 20-14-49.mkv.7z
    250.1 KB · Views: 89
Top