MediaKeyMessageEvent.message

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The MediaKeyMessageEvent.message read-only property returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system.

Syntax

var messageType = mediaKeyMessageEvent.messageType;

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeymessageevent-message

Browser compatibility

BCD tables only load in the browser