public void ObsSetRandomFilterState(string scene, int state, int connection = 0)
The name of the scene in OBS
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.ObsSetRandomFilterState(scene, state);
CPH.ObsSetRandomFilterState(scene, state, connection);