Table of Contents

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

input InputRef

The input to get the volume of, by name or by UUID.

cancellationToken CancellationToken

A 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.