Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines preload hints for the Media Engine. These values correspond to the preload attribute of the HTMLMediaElement interface in HTML5.
Syntax
typedef enum MF_MEDIA_ENGINE_PRELOAD {
MF_MEDIA_ENGINE_PRELOAD_MISSING = 0,
MF_MEDIA_ENGINE_PRELOAD_EMPTY = 1,
MF_MEDIA_ENGINE_PRELOAD_NONE = 2,
MF_MEDIA_ENGINE_PRELOAD_METADATA = 3,
MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC = 4
} ;
Constants
MF_MEDIA_ENGINE_PRELOAD_MISSINGValue: 0 The preload attribute is missing. |
MF_MEDIA_ENGINE_PRELOAD_EMPTYValue: 1 The preload attribute is an empty string. This value is equivalent to MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC. |
MF_MEDIA_ENGINE_PRELOAD_NONEValue: 2 The preload attribute is "none". This value is a hint to the user agent not to preload the resource. |
MF_MEDIA_ENGINE_PRELOAD_METADATAValue: 3 The preload attribute is "metadata". This value is a hint to the user agent to fetch the resource metadata. |
MF_MEDIA_ENGINE_PRELOAD_AUTOMATICValue: 4 The preload attribute is "auto". This value is a hint to the user agent to preload the entire resource. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Header | mfmediaengine.h |