• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. MediaKeySession
  4. MediaKeySession.sessionId

Table of contents

  • Syntax
  • Specifications
  • Browser compatibility

MediaKeySession.sessionId

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.

Syntax

var sessionId = mediaKeySessionObj.sessionId;

Specifications

Specification Status Comment
Encrypted Media Extensions
The definition of 'sessionId' in that specification.
Recommendation Initial definition

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 12, 2021, by MDN contributors

Related Topics

  1. MediaKeySession
  2. Properties
    1. This is an experimental API that should not be used in production code. closed
    2. This is an experimental API that should not be used in production code. expiration
    3. This is an experimental API that should not be used in production code. keyStatuses
    4. This is an experimental API that should not be used in production code. sessionId
  3. Methods
    1. This is an experimental API that should not be used in production code. close()
    2. This is an experimental API that should not be used in production code. generateRequest()
    3. This is an experimental API that should not be used in production code. load()
    4. This is an experimental API that should not be used in production code. remove()
    5. This is an experimental API that should not be used in production code. update()
  4. Inheritance:
    1. EventTarget
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies