adds void source_browser_signal(ptr source, string signal) to the global signal handler
adds void browser_signal(ptr source, string signal) to the signal handler of the browser source
in javascript you can signal a signal handler like this: window.obsstudio.signal("signal")
Motivation and Context
Allow JavaScript to send signals to plugins, without the need for an obs websocket connection
More generic solution replacing #423
How Has This Been Tested?
On windows 11 with changes to the markdown source to allow it to resize it self
Types of changes
New feature (non-breaking change which adds functionality)
Description
adds
void source_browser_signal(ptr source, string signal)
to the global signal handler addsvoid browser_signal(ptr source, string signal)
to the signal handler of the browser source in javascript you can signal a signal handler like this:window.obsstudio.signal("signal")
Motivation and Context
Allow JavaScript to send signals to plugins, without the need for an obs websocket connection More generic solution replacing #423
How Has This Been Tested?
On windows 11 with changes to the markdown source to allow it to resize it self
Types of changes
Checklist: