OBS unable to reconnect after internet lose

smartbet

New Member
When there an internet issue, OBS studio still alive, but when internet reconnects it freezes stream, we are unable to start ,stop obs and reconnect to stream, the solution is only by restarting webcallserver and reconnect to stream again. Those leads OBS studio crash.
 

smartbet

New Member
So we had issue without internet lose. But we think that terminating stream is wrong way, as it gone itself continuously.
 

smartbet

New Member

Max

Administrator
Staff member
Try disabling automatic reconnect in OBS (in Advanced settings). Reproduced OBS hang-up on attempt to stop streaming when connection to WCS is restored after OBS loses connection and "reconnects" when RTMP port is closed on WCS. Created internal ticket WCS-2804 - will notify when there is an update.
In case OBS loses connection, then before resuming streaming, please terminate the stream on WCS (rest-api/stream/terminate) if it remained published.
Or, enable RTP activity timeout for Flash using this setting in flashphoner.properties
Code:
flash_rtp_activity_enabled=true
Then the stream will be terminated when WCS stops receiving media from OBS.
The timeout is 60 seconds by default, can be changed using this setting (value in seconds)
Code:
rtp_activity_timeout=60
 

smartbet

New Member
Try disabling automatic reconnect in OBS (in Advanced settings). Reproduced OBS hang-up on attempt to stop streaming when connection to WCS is restored after OBS loses connection and "reconnects" when RTMP port is closed on WCS. Created internal ticket WCS-2804 - will notify when there is an update.
In case OBS loses connection, then before resuming streaming, please terminate the stream on WCS (rest-api/stream/terminate) if it remained published.
Or, enable RTP activity timeout for Flash using this setting in flashphoner.properties
Code:
flash_rtp_activity_enabled=true
Then the stream will be terminated when WCS stops receiving media from OBS.
The timeout is 60 seconds by default, can be changed using this setting (value in seconds)
Code:
rtp_activity_timeout=60
Very good Suggest I will generate report and send asap. Thank you.
 

Max

Administrator
Staff member
Fix for WCS-2804 is in build 5.2.714. OBS will not hang up on "Stop Streaming" after it got disconnected from WCS.

The RTMP stream published before OBS lost connection will remain published, and to publish again a stream with that name it, or the RTMP connection, will have to be terminated using REST request (unless flash_rtp_activity_enabled is enabed - then the stream will be terminated after the timeout).
 

smartbet

New Member
Fix for WCS-2804 is in build 5.2.714. OBS will not hang up on "Stop Streaming" after it got disconnected from WCS.

The RTMP stream published before OBS lost connection will remain published, and to publish again a stream with that name it, or the RTMP connection, will have to be terminated using REST request (unless flash_rtp_activity_enabled is enabed - then the stream will be terminated after the timeout).
Thank you very much!!!
 
Top