Table of Contents

Class MediaSynchronizer

Namespace
Stride.Media
Assembly
Stride.dll
public class MediaSynchronizer
Inheritance
MediaSynchronizer

Fields

Logger

public static readonly Logger Logger

Field Value

Logger

Properties

CurrentPresentationTime

public TimeSpan CurrentPresentationTime { get; }

Property Value

TimeSpan

IsLooping

public bool IsLooping { get; set; }

Property Value

bool

LoopRange

public PlayRange LoopRange { get; set; }

Property Value

PlayRange

MediaDuration

public TimeSpan MediaDuration { get; }

Property Value

TimeSpan

PlayRange

public PlayRange PlayRange { get; set; }

Property Value

PlayRange

ReachedEndOfStream

public bool ReachedEndOfStream { get; }

Property Value

bool

SpeedFactor

public float SpeedFactor { get; set; }

Property Value

float

State

public PlayState State { get; }

Property Value

PlayState

Methods

IsWaitingForSynchronization()

public bool IsWaitingForSynchronization()

Returns

bool

Pause()

public void Pause()

Play()

public void Play()

RegisterExtractor(IMediaExtractor)

public void RegisterExtractor(IMediaExtractor extractor)

Parameters

extractor IMediaExtractor

RegisterPlayer(IMediaPlayer)

public void RegisterPlayer(IMediaPlayer player)

Parameters

player IMediaPlayer

RegisterReader(IMediaReader)

public void RegisterReader(IMediaReader reader)

Parameters

reader IMediaReader

Seek(double)

public void Seek(double timePercentage)

Parameters

timePercentage double

Seek(TimeSpan)

public void Seek(TimeSpan seekTime)

Parameters

seekTime TimeSpan

Stop()

public void Stop()

UnregisterExtractor(IMediaExtractor)

public void UnregisterExtractor(IMediaExtractor extractor)

Parameters

extractor IMediaExtractor

UnregisterReader(IMediaPlayer)

public void UnregisterReader(IMediaPlayer player)

Parameters

player IMediaPlayer

UnregisterReader(IMediaReader)

public void UnregisterReader(IMediaReader reader)

Parameters

reader IMediaReader

Unregister<T>(List<T>, T)

public void Unregister<T>(List<T> list, T item)

Parameters

list List<T>
item T

Type Parameters

T

Update(TimeSpan)

public void Update(TimeSpan timeElapsed)

Parameters

timeElapsed TimeSpan