as

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

MediaKeyStatus

MediaKeyStatus: "usable" | "expired" | "released" | "output-restricted" | "output-downscaled" | "status-pending" | "internal-error"

Indicates the status of the media key.

usable:

  The CDM is certain the key is currently usable for decryption.

expired:

 The key is no longer usable for decryption because its expiration time has passed.

released:

  The key itself is no longer available to the CDM, but information about the key,
     such as a record of license destruction, is available.

output-restricted:

 There are output restrictions associated with the key that cannot currently be met.
                 Media data decrypted with this key may be blocked from presentation,
                 if necessary according to the output restrictions.

output-downscaled:

      There are output restrictions associated with the key that cannot currently be met.
                Media data decrypted with this key may be presented at a lower quality (e.g., resolution),
                if necessary according to the output restrictions.
                The application should avoid using streams that will trigger the output
                restrictions associated with the key.

status-pending:

  The status of the key is not yet known and is being determined.
            The status is updated with the actual status when it has been determined.

internal-error:

  The key is not currently usable for decryption because of an error in the CDM unrelated to the other values.
            This value is not actionable by the application.

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


Last updated: Oct 02, 2025