Table of Contents

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

input InputRef

The media input, by name or by UUID.

mediaCursor int

New cursor position to set. Restrictions: >= 0.

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

Remarks

This request does not perform bounds checking of the cursor position.