Class MediaSynchronizer
public class MediaSynchronizer
- Inheritance
-
MediaSynchronizer
Fields
Logger
public static readonly Logger Logger
Field Value
Properties
CurrentPresentationTime
public TimeSpan CurrentPresentationTime { get; }
Property Value
IsLooping
public bool IsLooping { get; set; }
Property Value
LoopRange
public PlayRange LoopRange { get; set; }
Property Value
MediaDuration
public TimeSpan MediaDuration { get; }
Property Value
PlayRange
public PlayRange PlayRange { get; set; }
Property Value
ReachedEndOfStream
public bool ReachedEndOfStream { get; }
Property Value
SpeedFactor
public float SpeedFactor { get; set; }
Property Value
State
public PlayState State { get; }
Property Value
Methods
IsWaitingForSynchronization()
public bool IsWaitingForSynchronization()
Returns
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