does anyone know if its possible to control the specific settings of plugins using web sockets ? or does it just control main OBS functions ? I have installed source switcher plugin... id like to find a way to change the "duration" value in the "time switch" mode, also the "duration" value of the "transition"... i have got web sockets working to do basic scene switching but im trying to understand how to change parameters in filters or if its even possible ?
Hi I don't know if this applies to obs 28+, but in the obs v4 socket api you can use the following command to
TALK TO SOME FILTERS". I use these commands to set opacity.
I don't know if Adv SS will handle these remote commands.
Anyway, hope that helps
"sourceName", SourceName, "filterName", Filtername, "filterSettings", Settings)
"sourceName" =OVERLAY_BLACK
"filtername" = FADE_CONTROL
"settings = {"opacity":0.99}
Sample command string
{"request-type":"SetSourceFilterSettings","message-id":"77,134,OVERLAY_BLACK,FADE_CONTROL","sourceName":"OVERLAY_BLACK","filterName":"FADE_CONTROL","filterSettings":{"opacity":0.99}}
SetSourceFilterSettings
Update settings of a filter
Request Fields:
Name | Type | Description |
---|
sourceName | String | Name of the source to which the filter belongs |
filterName | String | Name of the filter to reconfigure |
filterSettings | Object | New settings. These will be merged to the current filter settings. |
Response Items:
No additional response items.
SetSourceFilterVisibility
Change the visibility/enabled state of a filter
Request Fields:
Name | Type | Description |
---|
sourceName | String | Source name |
filterName | String | Source filter name |
filterEnabled | Boolean | New filter state |