MediaKeyMessageEvent
This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session. Available only in secure contexts.
interface MediaKeyMessageEvent extends Event {
readonly message: ArrayBuffer;
readonly messageType: MediaKeyMessageType;
}var MediaKeyMessageEvent: {
prototype: MediaKeyMessageEvent;
new (type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent;
};