setAudioStateByName
Set audio state by name (for IP source or USB input source).
Address
/audioMixer/setAudioStateByName [source name] [state]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The name of IP source or USB input source |
argument 2 | Int | Audio state 0: Always on (unmute) 1: Always off (mute) 2: Audio follow video (AFV) |
Example
Mute the audio of the IP source named as "srt_1".
/audioMixer/setAudioStateByName srt_1 1
Note: Floating point numbers will be rounded down.
/audioMixer/setAudioStateByName srt_1 1.9 = /audioMixer/setAudioStateByName srt_1 1