Method SetInputAudioMonitorType
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetInputAudioMonitorType(InputRef, MonitorType, CancellationToken)
Sets the audio monitor type of an input.
public Task SetInputAudioMonitorType(InputRef input, MonitorType monitorType, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to set the audio monitor type of, by name or by UUID.
monitorTypeMonitorTypeAudio monitor type.
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.