Set Source Mute State

Mute or unmute a source
Preview
Preview

Parameters

Connectionrequired
Select

Select the configured OBS Studio Connection to connect to

  • Any - trigger on events from any OBS connection
  • Default - trigger on events from the default OBS connection
Scenerequired
Text

Select the scene from this dropdown list, you can also manually enter a scene name.

Sourcerequired
Text

Select the source from this dropdown list, you can also manually enter a source name.

Staterequired
Select

Select the mute status for the source

  • Muted: Set the mute state to muted
  • Not Muted: Set the mute state to not muted
  • Toggle: Toggle the mute state between muted and not muted

Variables

This sub-action does not populate any variables.

C# Usage

public void ObsSetSourceMuteState(string scene, string source, int state, int connection = 0)