Method GetInputVolume
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputVolume(InputRef, CancellationToken)
Gets the current volume setting of an input.
public Task<InputVolumeResponse> GetInputVolume(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to get the volume 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<InputVolumeResponse>
A InputVolumeResponse with the response data.