Table of Contents

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

input InputRef

The input to toggle the mute state of, by name or by UUID.

cancellationToken CancellationToken

A 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.

Returns

Task<bool>

Whether the input has been muted or unmuted.