as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

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

readonly keySystem: string

Identifies the Key System being used.

For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemaccess-keysystem.

Methods

getConfiguration()

getConfiguration(): MediaKeySystemConfiguration | null

Returns the supported combination of configuration options selected by requestMediaKeySystemAccess().

For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemaccess-getconfiguration.

MediaKeySystemConfiguration

Returns

MediaKeySystemConfiguration | null


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.

Promise, resolved when successfully created a MediaKeys, rejected otherwise.

Returns

void | Promise<MediaKeys>


Last updated: Jul 22, 2026