Custom app to connect to a websocket server - is this possible?

Hi

I use OBS (Open Broadcast Software) for streaming and I want to automate certain aspects of the stream via Make. OBS has a built in Websocket Server for this task, but Make has only “normal” HTTP modules. I believe I should be able to create a custom app to connect to this websocket server, am I right?

The link below describes how to initiate a connection, which seems reasonably straight forward, but I’m not sure how it fits in to the Base configuration of a custom app:

Does anyone have any example they can guide me to of Make custom apps connecting to a websocket server?

Thanks

Stuart

Hi @Stuart_Mingay,

sadly websocket servers aren’t supported in Make. Do you have any option to use API calls?

Best,
Richard

Hi Richard

No I’m afraid there is no API option in this situation.

That’s a hard no then, even with custom apps? Custom apps can only be built if an API is available?

Thanks

Stuart

yeah, websockets aren’t supported :confused:
You’d probably need to setup a server to connect to the websocket server which then sends events to Make… :confused:

… well, that’s pretty definite then! So Make > custom API sever > OBS websocket.

Life has just got very complicated. Thanks for your help though.

1 Like

Yeah indeed life got complicated by that. OBS only offers websocket connections? no other way? :confused:

No I’m afraid there’s only the websocket server I’m afraid. I currently control my local home instance of OBS via an app that connects to the websocket, and an additional level of automation with local python scripts on the machine being called by OBS during scene changes, which read information from a file that has been created by Make on a Google drive.

I’m trying to avoid exposing my home obs websocket server to the internet and use a commercially available cloud instance, but the plan I can afford doesn’t give me full remote access to the cloud based OBS server.

Yeah I understand :confused: Fingers crossed! :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.