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.
Contains flags that specify whether the Media Engine will play protected content, and whether the Media Engine will use the Protected Media Path (PMP).
Syntax
typedef enum MF_MEDIA_ENGINE_PROTECTION_FLAGS {
MF_MEDIA_ENGINE_ENABLE_PROTECTED_CONTENT = 1,
MF_MEDIA_ENGINE_USE_PMP_FOR_ALL_CONTENT = 2,
MF_MEDIA_ENGINE_USE_UNPROTECTED_PMP = 4
} ;
Constants
MF_MEDIA_ENGINE_ENABLE_PROTECTED_CONTENTValue: 1 Enable playback of protected content. The Media Engine will not play DRM-protected content unless this flag is set. If you set this flag, also set the MF_MEDIA_ENGINE_CONTENT_PROTECTION_MANAGER attribute. |
MF_MEDIA_ENGINE_USE_PMP_FOR_ALL_CONTENTValue: 2 Use the Protected Media Path (PMP) for all playback, including clear (non-protected) content. |
MF_MEDIA_ENGINE_USE_UNPROTECTED_PMPValue: 4 Create the PMP inside an unprotected process. You can use this option to play clear content, but not to play protected content. |
Remarks
These flags are used with the MF_MEDIA_ENGINE_CONTENT_PROTECTION_FLAGS attribute.
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 |