Expand Minimize

MF_MEDIA_ENGINE_READY enumeration

Defines ready-state values for the Media Engine.

Syntax


typedef enum MF_MEDIA_ENGINE_READY { 
  MF_MEDIA_ENGINE_READY_HAVE_NOTHING       = 0,
  MF_MEDIA_ENGINE_READY_HAVE_METADATA      = 1,
  MF_MEDIA_ENGINE_READY_HAVE_CURRENT_DATA  = 2,
  MF_MEDIA_ENGINE_READY_HAVE_FUTURE_DATA   = 3,
  MF_MEDIA_ENGINE_READY_HAVE_ENOUGH_DATA   = 4
} MF_MEDIA_ENGINE_READY;

Constants

MF_MEDIA_ENGINE_READY_HAVE_NOTHING

No data is available.

MF_MEDIA_ENGINE_READY_HAVE_METADATA

Some metadata is available, including the duration and, for video files, the video dimensions. No media data is available.

MF_MEDIA_ENGINE_READY_HAVE_CURRENT_DATA

There is media data for the current playback position, but not enough data for playback or seeking.

MF_MEDIA_ENGINE_READY_HAVE_FUTURE_DATA

There is enough media data to enable some playback or seeking. The amount of data might be a little as the next video frame.

MF_MEDIA_ENGINE_READY_HAVE_ENOUGH_DATA

There is enough data to play the resource, based on the current rate at which the resource is being fetched.

Remarks

These values correspond to constants defined for the HTMLMediaElement.readyState attribute in HTML5.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngine::GetReadyState

 

 

Community Additions

ADD
Show:
© 2014 Microsoft