nicnacnic / obs-control

A simple NodeCG bundle to control an instance of OBS.
MIT License
7 stars 1 forks source link

Cannot forward messages to obs-websocket #1

Closed fGeorjje closed 2 years ago

fGeorjje commented 2 years ago

Having a message listener in this bundles' extension code to forward messages to obs-websocket would remove the obs-websocket-js dependency for other bundles and allow a single connection to handle all requests by bundles.

Could also potentially be used to clean up some extension listeners and instead send requests directly from dashboard elements.

fGeorjje commented 2 years ago

closing, found out that NodeCG does not support sending messages to another bundle from extension code (sendMessageToBundle is browser only), which kind of defeats the point of this.