Looking For Dev to make a Plugin

mr94valerio

New Member
I would like to implement local API HTTP with 2 enpoints.
First Endpoint return OBS Live or Recording Status. For example http:://localhost:PORT/status and response could be isLive | isRecording | idle
Second Endpoint return OBS program screenshot compressed in base64 string. Is there any Dev here open to work to this project ?
 

AaronD

Active Member
I think the first one could be done with the WebSocket server that already exists in OBS. Tools -> Websocket Server Settings

The second one is still ambiguous as to what you actually want:
  1. OBS can take a screenshot of the content that you're producing - main output or a particular source - and it drops that in a PNG image file. You can then use an external tool to grab that file and do what you want with it.
  2. Or you can take a screenshot of the controls as seen on the physical screen. That's an operating system function that OBS has nothing to do with.
For #1, the Advanced Scene Switcher plugin can already respond to a WebSocket message and both take the screenshot and run an external tool to do something with it. So the standardization is already on WebSockets, not HTTP.
Or, there might already be a WS function for this in OBS, so no need for Adv. SS if this is all you're doing with it.

If you absolutely *must* use HTTP, then you probably need another external thing to do that translation. Much easier than inventing a new standard. Node-RED *might* be a possibility, or maybe something else that I haven't heard of yet.
 
Top