bilhamil / OBSRemote

Websocket Enabled API and Webclient Plugin for Open Broadcaster Software
obsremote.com
143 stars 63 forks source link

Change server port to support multiple OBS' #8

Open sistason opened 9 years ago

sistason commented 9 years ago

I am using a setup of two simultaneous OBS, one for HQ local recordings and one for streaming the content in lower quality. Since they both use port 4444, the one opened first gets the lock on the socket, which may lead to me only getting to remote-control the one with the window-capture, not the ones with the actual scenes.

Optimal configuration would be a configurable port option, which gets saved with the properties in the profile. Another possibility is a command-line option, to specify the port. Also working would be a configurable port in the Plugin-configuration window, but then an option to restart obs_remote would be necessary, since the socket is already bound at that time.

I don't know how much space a plugin has for interfacing the OBS core, so I don't know how difficult this issue is... Would really like it, if you could find the time to implement that. Firewalls and Port Forwards would also appreciate an configurable port.

PS: Is the port bound to the interface specified in the settings or to nothing in particular?