MEContentProtectionMetadata event

Media Stream uses this event to send protection system specific metadata to the decoder.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_EMPTY
No event data.

Attributes

The following attributes are defined for this event.

Attribute Description
MF_EVENT_STREAM_METADATA_KEYDATA
This is an optional attribute. Protection system specific data.

MF_EVENT_STREAM_METADATA_CONTENT_KEYIDS
Content key IDs which the event is associated with.

MF_EVENT_STREAM_METADATA_SYSTEMID
This is an optional attribute. System ID for which the key data is intended.

Remarks

This event is used, for example, for communicating key rotation event. In this case it should be sent as early as possible to give the decoder time to prepare itself before samples encrypted with the new key ID start arriving.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events