Websocket-call to Browser source in OBS

5opr4ni

New Member
Hi everyone,


I’m looking for a way to send function calls directly to a loaded browser source in OBS, similar to how it’s done in CasparCG. In CasparCG, you can use a CALL to interact with any exposed function, enabling the creation of advanced, dynamic HTML templates without the need for a back-end server for the HTML-templates. (I don't want to put in specific OBS code into the templates. Just be able to call exposed functions.)

I’ve been searching for a solution to achieve something similar in OBS but haven’t found a clear method yet. While I’ve had some success using Python, I’m hoping to avoid that route. Instead, I’d prefer to use the WebSocket approach, which would allow me to use OBS in a more broadcast-oriented manner and leverage the browser source as a template engine.

If anyone has insights, tips, or examples on how to accomplish this, your help would be greatly appreciated!

Thank you!
 
Top