Method SetMediaInputCursor
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetMediaInputCursor(InputRef, int, CancellationToken)
Sets the cursor position of a media input.
public Task SetMediaInputCursor(InputRef input, int mediaCursor, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe media input, by name or by UUID.
mediaCursorintNew cursor position to set. Restrictions: >= 0.
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.