OBS-studio-webrtc
OBS-studio-webrtc copied to clipboard
Upgrade obs-websocket to resolve crashing following lost connection
Hi there, I had a problem in which OBS would crash after internet connection is lost and the stream is restarted. Using the latest pre-release (27.0.1 m91 on Windows), I could reproduce the crash by doing the following:
- Start a stream
- Disconnect the machine from the internet (simulated by physically removing the ethernet cable)
- Wait for the stream to stop by timing out
- Reconnect the ethernet cable and reestablish an internet connection
- Start the stream again
Unfortunately, I don't have the crash logs on me but was able to see that the crash was caused by the websockets dll. By upgrading the obs-websocket plugin to the latest stable release (4.9.1 in my case), I could follow the steps above with causing a crash. I suspect (but have no proof) this has something to do with this issue which was fixed in the release following the one shipped with obs-webrtc.
Could you test these steps to determine if this a problem with the release or exclusive to the machine I'm using? Thanks in advance.
I was able to reproduce the crash on Windows 27.0.1 m91 after a few attempts of disconnecting the machine from internet / wait for stream to stop / reconnect the machine to internet / start streaming (at least 3 or 4).
Release 27.2.3 m99 includes upgrade of obs-websocket to version 4.9.1 After multiple attempts to of disconnect / wait stream stop / reconnect / start streaming (more than 5) I was not able to have OBS crash on Windows.