Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The MediaKeySystemAccess object provides access to a Key System.

Properties

keySystem

readonly keySystem: string Identifies the Key System being used. For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemaccess-keysystem.

Methods

createMediaKeys()

createMediaKeys(): void | Promise<MediaKeys> Creates a new MediaKeys object for keySystem. For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemaccess-createmediakeys.

Returns

void | Promise<MediaKeys> Promise, resolved when successfully created a MediaKeys, rejected otherwise.

getConfiguration()

getConfiguration(): MediaKeySystemConfiguration Returns the supported combination of configuration options selected by requestMediaKeySystemAccess(). For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemaccess-getconfiguration.

Returns

MediaKeySystemConfiguration MediaKeySystemConfiguration
Last modified on February 25, 2026