Table of Contents

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

input InputRef

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

inputMuted bool

Whether to mute the input or not.

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