MediaKeySession: sessionId property

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

The MediaKeySession.sessionId is a read-only property that 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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
sessionId