Table of Contents

Method SetInputAudioSyncOffset

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetInputAudioSyncOffset(InputRef, int, CancellationToken)

Sets the audio sync offset of an input.

public Task SetInputAudioSyncOffset(InputRef input, int inputAudioSyncOffset, CancellationToken cancellationToken = default)

Parameters

input InputRef

The input to set the audio sync offset of, by name or by UUID.

inputAudioSyncOffset int

New audio sync offset in milliseconds. Restrictions: >= -950, <= 20000.

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