Icon TMediaReadyState

Unit: WebUI

TMediaReadyState = (mrsNothing,mrsMetadata,mrsCurrentData,
      mrsFutureData,mrsEnoughData)

Available In: Client and Server Applications

The TMediaReadyState enumerated type is used with the TAudio, TVideo, and TMediaElement classes to determine the current playback-readiness of the media control.

ElementDescription
mrsCurrentDataMedia data has been loaded for the current playback position, but nothing more. This state normally occurs at the end of media playback.
mrsEnoughDataEnough media data has been loaded that the media control should be able to play until the end of the media without pausing.
mrsFutureDataEnough media data has been loaded to begin playing, but the media control will most likely have to pause at some later point to load more data.
mrsMetadataThe media metadata has been loaded, so statistics such as the duration of the media will be available, but no media data has been loaded yet.
mrsNothingNo media data has been loaded (including metadata).
Image