Table of Contents

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

input InputRef

The media input, by name or by UUID.

mediaCursorOffset int

Value to offset the current cursor position by.

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.