Interface IVideoPlaybackBackend

Namespace
Forma
Assembly
Forma.Media.dll

Playback operations consumed by VideoStreamPlayer.

public interface IVideoPlaybackBackend : IDisposable
Inherited Members

Properties

IsLooped

bool IsLooped { get; set; }

Property Value

bool

PlayPosition

TimeSpan PlayPosition { get; }

Property Value

TimeSpan

State

MediaState State { get; }

Property Value

MediaState

Volume

float Volume { get; set; }

Property Value

float

Methods

GetTexture()

Texture2D GetTexture()

Returns

Texture2D

Pause()

void Pause()

Play(Video)

void Play(Video stream)

Parameters

stream Video

Resume()

void Resume()

Stop()

void Stop()

TrySetPlayPosition(TimeSpan)

bool TrySetPlayPosition(TimeSpan position)

Parameters

position TimeSpan

Returns

bool