SOLVED Start/Stop stream via script file over network.

LL0YD_

New Member
Hi.

I'm sorry if this is in the wrong thread, wasn't too sure what it fell under.

I'm not sure if this can be done but I thought I'd ask as I've not been able to find exactly what I'm looking for on the internet.

I have a 2 PC setup, one gaming, one streaming. I game at 1440p 144Mhz and stream at 720/60fps which is all working fine.

I project the image to the streaming PC via a 3rd hidden screen which I have OBS running on the gaming PC and right click on the stream preview and select 'Fullscreen Projector (preview)' This then sends the signal over to my capture card (HD60 Pro) via HDMI to the streaming PC.
I connect to this PC using Remote Desktop connection which works fine.

I have since bought a stream deck to control my shortcuts and other settings. I want to use a button the deck to start/stop the stream via the network so my question is,
Is there a script or another way (if any) to use a file that can be linked to a certain keyboard shortcut, which is then linked to a hotkey on the deck to start and stop the stream on my gaming PC with out having to login to the streaming PC?

Thanks in advance.
 

LL0YD_

New Member
Thank you Lebaston100 for the reply. After testing different way to do this I've finally found the way I think works best.

I used the recommendation from Lebaston above - https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/
This works well but I wasn't able to use the Stream Deck to control the Start and Stop function. Once getting this to work above I found this link - https://obsproject.com/forum/resources/command-line-tool-for-obs-websocket-plugin.615/
This is the commands which work along side the websocket remote.

I wrote a batch file which when executed on the gaming pc will load the remote computer, load OBS on gaming PC and then wait 10 seconds to the start the stream.
 
Top