Method SetInputMute
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetInputMute(InputRef, bool, CancellationToken)
Sets the audio mute state of an input.
public Task SetInputMute(InputRef input, bool inputMuted, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to set the mute state of, by name or by UUID.
inputMutedboolWhether to mute the input or not.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.