Method GetInputAudioMonitorType
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputAudioMonitorType(InputRef, CancellationToken)
Gets the audio monitor type of an input.
public Task<MonitorType> GetInputAudioMonitorType(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to get the audio monitor type of, 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<MonitorType>
Audio monitor type.
Remarks
The available audio monitor types are:.
- OBS_MONITORING_TYPE_NONE - OBS_MONITORING_TYPE_MONITOR_ONLY - OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT.