public void ObsSetFilterState(string scene, string filterName, int state, int connection = 0)
The name of the scene in OBS
The name of the filter in OBS Studio
The new filter state
| Value | Description |
|---|---|
0 | Visible |
1 | Hidden |
2 | Toggle existing state |
0
Optional index of the OBS connection, defaults to the first connection.
Zero-indexed based on the order you see in Stream Apps > OBS Studio
e.g. The first client in the list is 0, the second client in the list is 1, and so on...
void
CPH.ObsSetFilterState(scene, filterName, state);
CPH.ObsSetFilterState(scene, filterName, state, connection);