Method OffsetMediaInputCursor
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
OffsetMediaInputCursor(InputRef, int, CancellationToken)
Offsets the current cursor position of a media input by the specified value.
public Task OffsetMediaInputCursor(InputRef input, int mediaCursorOffset, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe media input, by name or by UUID.
mediaCursorOffsetintValue to offset the current cursor position by.
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
This request does not perform bounds checking of the cursor position.