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
inputInputRefThe input, by name or by UUID.
inputAudioTracksAudioTracksTrack settings to apply.
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.