Method GetInputAudioSyncOffset
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputAudioSyncOffset(InputRef, CancellationToken)
Gets the audio sync offset of an input.
public Task<int> GetInputAudioSyncOffset(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to get the audio sync offset 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
Remarks
Note: The audio sync offset can be negative too!