MediaKeySession: sessionId property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The sessionId read-only property of the MediaKeySession interface contains a unique string generated by the content decryption module (CDM) for the current media object and its associated keys or licenses.

Value

A string.

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeysession-sessionid

Browser compatibility

BCD tables only load in the browser