Table of Contents

Method SetInputVolumeDb

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetInputVolumeDb(InputRef, float, CancellationToken)

Sets the volume setting of an input, in dB.

public Task SetInputVolumeDb(InputRef input, float inputVolumeDb, CancellationToken cancellationToken = default)

Parameters

input InputRef

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

inputVolumeDb float

Volume setting in dB.

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