as

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

MediaKeySystemConfiguration

https://www.w3.org/TR/encrypted-media/#mediakeysystemconfiguration-dictionary

Properties

audioCapabilities?

optional audioCapabilities: MediaKeySystemMediaCapability[]

A list of supported audio type and capability pairs.

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


distinctiveIdentifier?

optional distinctiveIdentifier: MediaKeysRequirement

Defaults to "optional". Whether use of a Distinctive Identifier(s) is required.

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


initDataTypes?

optional initDataTypes: string[]

A list of supported Initialization Data Type names.

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


label?

optional label: string

An optional label that is preserved in the MediaKeySystemConfiguration returned from the getConfiguration() method of MediaKeySystemAccess.

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


persistentState?

optional persistentState: MediaKeysRequirement

Whether the ability to persist state is required.

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


sessionTypes?

optional sessionTypes: MediaKeySessionType[]

A list of MediaKeySessionTypes that must be supported

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


videoCapabilities?

optional videoCapabilities: MediaKeySystemMediaCapability[]

A list of supported video type and capability pairs.

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


Last updated: Oct 02, 2025