MediaKeysSystemAccess
The MediaKeySystemAccess object provides access to a Key System.
For more information, see https://www.w3.org/TR/encrypted-media/#mediakeysystemaccess-interface.
Properties
keySystem
readonlykeySystem: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
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
Last updated: Oct 02, 2025

