Class: KeyMessage

KeyMessage

EME-independent KeyMessage


new KeyMessage(sessionToken, message, defaultURL, messageType)

Parameters:
Name Type Argument Default Description
sessionToken SessionToken

the session to which the key message is associated

message ArrayBuffer

the key message

defaultURL <optional>

license acquisition URL provided by the CDM

messageType <optional>
"license-request"

the message type. Supported message types can be found here.

Source: