You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OBS 31.0.1: OBS quit unexpectedly when SRT server rejects connection or passphrase is wrong #11885
An older Linux version (30.0.2) attempts to reconnect based on retry time and maximum number of attempts (each 2s, 25 attempts). Windows version (31.0.1) also tries to reconnect and unexpected shutdown of OBS does not happen.
Current Behavior
When:
SRT server rejects the connection (f.e it is turned off) or server IP / port is not correct OBS shutdown unexpectedly (Check OBS studio log URL). [obs-ffmpeg mpegts muxer: 'adv_stream']: Failed to open the url or invalid stream
SRT server passhrase used in OBS doesn't match the one used on the SRT server side, OBS also closes unexpectedly. [obs-ffmpeg mpegts muxer / libsrt]: Connection rejected, Unknown or erroneous]
Steps to Reproduce
Prepare SRT server and choose passphrase on server side
Put ingest information in OBS Stream Tab [example: srt://hostname_ip:port?mode=caller&latency=1000000&passhrase=wrong&streamid=randomstreamid]
OBS closes unexpectedly
Anything else we should know?
I checked it on several devices, I checked it on different versions of Ubuntu, different OBS settings (NVENC and x264), I even checked it on VM with Ubuntu 24.04.
@steve616 hello, it would be better to create your own issue because you have not ascertained whether your issue is the same as the OP or not. There could be indeed interference from branch (i assume it is the branch plugin, which i know nothing about). So please, delete this to avoid polluting the OP issue, open your own issue , post a crash log. It will show if the issue is on obs side or on branch side. This will ensure attention is brought to your issue. Thanks.
Activity
chaos-dotcom commentedon Feb 23, 2025
I've had the same issue on macos too
was working fine in OBS 27
teodly commentedon Apr 14, 2025
Happens on Ubuntu 24.04, OBS from PPA
Looks like use-after-free in
libsrt_closeobs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
pkviet commentedon May 17, 2025
The crashes should be fixed hopefully; at least they are for me. Testers welcome.
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer
pkviet commentedon Nov 11, 2025
@steve616 hello, it would be better to create your own issue because you have not ascertained whether your issue is the same as the OP or not. There could be indeed interference from branch (i assume it is the branch plugin, which i know nothing about). So please, delete this to avoid polluting the OP issue, open your own issue , post a crash log. It will show if the issue is on obs side or on branch side. This will ensure attention is brought to your issue. Thanks.
steve616 commentedon Nov 11, 2025
obs-ffmpeg: Reimplement reconnection logic in mpegts muxer