Method GetInputAudioTracks
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputAudioTracks(InputRef, CancellationToken)
Gets the enable state of all audio tracks of an input.
public Task<AudioTracks> GetInputAudioTracks(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input, 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.
Returns
- Task<AudioTracks>
Object of audio tracks and associated enable states.