Encrypted Media Extensions
The MediaKeyMessageEvent interface of the Encrypted Media Extensions API contains the content and related data when the content decryption module generates a message for the session.
Constructor
- MediaKeyMessageEvent.MediaKeyMessageEvent
- : Creates a new instance of
MediaKeyMessageEvent.
- : Creates a new instance of
Instance properties
Inherits properties from its parent, Event.
- MediaKeyMessageEvent.message
- : Returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system.
- MediaKeyMessageEvent.messageType
- : Indicates the type of message. May be one of
license-request,license-renewal,license-release, orindividualization-request.
- : Indicates the type of message. May be one of
Instance methods
Inherits methods from its parent, Event.
Examples
// TBD
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
