datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.94k stars 448 forks source link

Video glitch from srt obs #839

Open JiaG293 opened 3 weeks ago

JiaG293 commented 3 weeks ago

Describe the bug For "media source" which taken from SRT OBS, the video source has a glitch problem. Video source: Occasionally there will be image glitch Image source: Image will have a glitch in the bottom half

Screenshots image image image

Desktop (please complete the following information):

Additional context report.txt

ioppermann commented 2 weeks ago

This is likely due to some packets drops and the SRT latency must be increased. This you do by adding &latency=... to the SRT URL that you entered into OBS. This parameter expects a value in microseconds. If this parameter is not provided, a default of 120ms is assumed.

Example: Restreamer tells you this URL:

srt://192.168.1.154:6000?mode=caller&transtype=live&streamid=1831091a-8402-421f-b579-348c6892e078.stream,mode:publish,token:xxx

There you add the latency parameter with a higher value, e.g. 500ms, resp. 500000 microseconds:

srt://192.168.1.154:6000?mode=caller&transtype=live&streamid=1831091a-8402-421f-b579-348c6892e078.stream,mode:publish,token:xxx&latency=500000