-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRT streams have trouble connecting/reconnecting while Recording is running #4596
Comments
Try to add this to your Media Source URL in obs: |
Thanks for the suggestion but unfortunately it doesn't help. Also I think you meant Although, I can say that So even though it's doing something, it's definitely not a 100% fix for this issue. |
I have the same problem even if I'm recording or not. |
Did you try what I suggested above @kpcenti ? |
Yes I have, it's better but still has the problems from time to time. I also tried it on the newest RC version and it's the same |
This issue still exists SRT stream cannot reconnect if connection is lost while OBS is recording |
I can confirm this issue on OBS Studio 27.1.3 on Windows. The Steps to Reproduce must be performed in exactly the order specified, and the active output must be recording. This does not seem to occur with an active stream or virtual camera. |
Hello, same reconnecting issue. Here my config: OBS Studio 27.1.3 (64 bit) running on macos 11.4 ( Intel processor) OBS Settings: Media Source input NO recording Issue: if transmission is interrupted the displayed image on OBS freezes. After exactly 60secs it restarts automatically. Tested with different srt parameters( as the "timeout" ). Sometime works better but it is not consistent and I do not understand which parameter/parameters changes the relation. It looks like an OBS related issue. Any suggestion is very appreciated. Thanks. |
Here some other observations in OBS sorce input "media source" settings: a) Media Source input If SRT stream is interrupted the displayed image on OBS freezes. Restart Automatically after 60 secs b) Media Source input If SRT stream is interrupted the displayed image on OBS freezes. Restart Automatically after 75 secs c) Media Source input If SRT stream is interrupted the displayed image on OBS freezes. Restart Automatically after 90 secs.. Please verify on your configuration if you can reproduce. Thanks |
I have the same issue on OBS 27.1.3 on macOS like DiegoTS55. Using SRT Listener is unreliable in such condition. I found solution: |
i've repro'd with OBS 27.2 beta 4. I'll investigate. |
it seems I get the issue too when I stream. |
Can confirm this myself and that Larix broadcaster isn't the issue - I have an SRT relay in between the two and the logs reflect that OBS takes roughly 60 seconds to reconnect once the stream drops. It doesn't seem to be related to any output from OBS as it happens when not streaming/recording too. Edit: it definitely seems to be something around OBS not retrying the stream. If you start up the SRT stream, let OBS connect, then stop the stream in Larix, then wait a couple of minutes and start it back up again, OBS will connect immediately (i.e. within the 1-2 seconds I'd expect with a reconnect delay of 1s). So it seems to be some sort of delay on it recognising that the stream has dropped, rather than the reconnect delay? 🤔 |
Ah ha! It's the network buffering setting. If you set it to 0MB it drops and reconnects almost immediately. However this doesn't seem to work unless you have a relay in the middle. |
This seems to still be an issue in OBS 27.2.3. SRT streams from Larix Broadcaster will not reconnect in OBS while I am recording locally. |
Does this still occur in OBS Studio 28.1.2 (or newer)? |
Yes, I'm still experiencing the same issue in OBS Studio 28.1.2 when I
disconnect the video feed from Larix Broadcaster and try to reconnect while
recording in OBS. Failure to reconnect.
…On Wed, Nov 16, 2022 at 3:46 PM Ryan Foster ***@***.***> wrote:
Does this still occur in OBS Studio 28.1.2 (or newer)?
—
Reply to this email directly, view it on GitHub
<#4596 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADB3A3UMZFARMWK4VMBHZU3WIVB2RANCNFSM43RCFV7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have attempted to use the solutions in this thread and will say it is still a present issue; I am currently unable to re-connect when recording and have not been able to successfully reconnect once in OBS 29.0.0 it's very sad to see this is just going untouched as Local OBS recordings are my primary way to save videos to edit later. |
Also on OBS 29.0 having the same issues. SRT from LAN will occasionally reconnect while recording from Larix/IRL pro, but on a different network it has 0 success trying to connect or reconnect while recording. |
I also have this issue. Reconnection do not work until I stop recording. |
here's a workaround:
|
Coming back to this, I wasn't able to reproduce it, then I realised why.
I couldn't get it working by reversing the Create a scene, call it "Dummy SRT" or whatever, and add a Media Source with a port you won't use, eg: Now Recording has no effect. |
@_@ weird. I'd rather have this bug solved. I wonder if an srt update might help. Anyway, if you can live with this workaround for the time being, that's good. |
I completely agree, I'd rather see the bug sorted. That being said, if my (or your) workaround works for others, then it's as good as a bug fix, at only takes a few seconds to apply. |
This issue persists in 30.2.2. I'm commenting here for anyone else searching for a work around: I run a Mist Server (https://mistserver.org) on my PC with OBS to ingest the SRT stream and rebroadcast as an MP4 html5 video. A bit convoluted and induces some latency, but it does handle reconnects without issue. |
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
27.0.0-rc2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/YvNqZDkccJqVfIK-
OBS Studio Crash Log URL
No response
Expected Behavior
Streams should be able to reconnect without issue.
Current Behavior
SRT stream from Larix on Android fails to reconnect when stopped while OBS is recording.
Steps to Reproduce
Anything else we should know?
Interestingly with 26.1.1 it has a hard time reconnecting regardless of recording status. So SRT stability has improved in v27, but still not 100%. (Opinion: as SRT is all about providing stability and a robust stream under any circumstances, hopefully this and any other stability related issues can be resolved, else users might not trust being able to leave OBS/SRT unattended.)
The text was updated successfully, but these errors were encountered: