Open austin-funk opened 1 year ago
The error basically says "there is no process that expects connection on a specified port" (4455 in this case). I am not sure what version of OBS Websockets was on 27.1.3, probably the old one (v4), so you need to connect differently:
client = obswebsocket.obsws("localhost", 4445, legacy=True)
(you can always check the port in OBS-websocket settings)
Hi all, I'm currently working on a script that can dynamically save video segments to different folders based on the time of day. However, I'm getting stuck on the first step, and have very little networking experience to lean on. Any help would be greatly appreciated. I've tried using OBS version 29.0.0 and am currently using version 27.1.3. I was using Python 3.7 but switched to 3.6.8 to be compatible with the older version of OBS. I've tried two versions of obs-websocket, 5.0.0 and 4.9.1. I've tried turning off all firewalls and both using a password and not using a password. I was able to see and change options for the websocket under Tools in OBS 29.0.0, but even with multiple reinstalls I can't make it work for 27.1.3. Here is the error message from OBS when using OBS 27.1.3, Python 3.6.8, websocket 4.9.1, no firewalls, no authentication:
Here is the code associated with this error message. I have commented out sections of it and found that the issue occurs when
client.connect()
is uncommented: