Table of Contents

Class ObsMediaStatus

Namespace
OBSStudioClient.Model
Assembly
OBSClient.dll

What OBS Studio says about a media input at the moment that it was asked (see GetStatusAsync(CancellationToken)): a snapshot, that does not change.

public sealed class ObsMediaStatus
Inheritance
ObsMediaStatus
Inherited Members

Properties

Duration

Gets how long the media is, or null when OBS Studio does not say: it only knows while the media plays or is paused. A media file that cannot be played says a length of zero.

Position

Gets where the media is (the position of the cursor), or null when OBS Studio does not say: it only knows while the media plays or is paused. A media input that is not on the program output does not move, and keeps saying the position that it had.

State

Gets what the media is doing. This is what OBS Studio holds at the moment of the answer: it can be a state that State does not show (Opening, Buffering or Error).

Methods

ToString()

Returns a string that represents the current object.