Closed shugen002 closed 1 year ago
To answer the question though, the bindings are only available in browser sources, not panels.
@tt2468 Is there any way, to listen to events (e.g. obsRecordingStarted
) from a panel containing a browser source?
@tt2468 Is there any way, to listen to events (e.g.
obsRecordingStarted
) from a panel containing a browser source?
Browser panels cannot "contain" OBS sources, and are not related to sources in any way, so no.
Wow thanks for answering instantly! And sorry, I might have used the wrong wording here. I meant "Custom Browser Docks".
I found that event listeners work when adding the browser source to the sources list, but do not work if I add them as custom browser dock...
Browser docks are browser docks. All browser docks do not have access to the custom OBS window objects.
Ok, thanks for the clarification!
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
28.0.0-rc1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/IWEEP9Z1X4ansTXc
OBS Studio Crash Log URL
No response
Expected Behavior
Just like in a normal Browser Source
Current Behavior
The Callback looks like didn't called and return nothing. And the event listener didn't trigger.
Steps to Reproduce
--remote-debugging-port=9229
to debug browserAnything else we should know?
No response