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
inputInputRefThe input to set the volume of, by name or by UUID.
inputVolumeDbfloatVolume setting in dB.
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.