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: Sep 30, 2025