Method ToggleInputMute
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
ToggleInputMute(InputRef, CancellationToken)
Toggles the audio mute state of an input.
public Task<bool> ToggleInputMute(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to toggle the mute state of, by name or by UUID.
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.