Table of Contents

Method SetInputAudioTracks

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetInputAudioTracks(InputRef, AudioTracks, CancellationToken)

Sets the enable state of audio tracks of an input.

public Task SetInputAudioTracks(InputRef input, AudioTracks inputAudioTracks, CancellationToken cancellationToken = default)

Parameters

input InputRef

The input, by name or by UUID.

inputAudioTracks AudioTracks

Track settings to apply.

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