OBS-studio-webrtc icon indicating copy to clipboard operation
OBS-studio-webrtc copied to clipboard

Upgrade obs-websocket to resolve crashing following lost connection

Open WCBru opened this issue 2 years ago • 1 comments

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:

  1. Start a stream
  2. Disconnect the machine from the internet (simulated by physically removing the ethernet cable)
  3. Wait for the stream to stop by timing out
  4. Reconnect the ethernet cable and reestablish an internet connection
  5. 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.

WCBru avatar Nov 19 '21 03:11 WCBru

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.

ludocosmo avatar Mar 14 '22 10:03 ludocosmo