Package-level declarations

Types

Link copied to clipboard

This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session. Available only in secure contexts.

Link copied to clipboard
external interface MediaKeyMessageEventInit : EventInit
Link copied to clipboard
sealed external interface MediaKeyMessageType
Link copied to clipboard
external class MediaKeys

This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. Available only in secure contexts.

Link copied to clipboard
external class MediaKeySession : EventTarget

This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). Available only in secure contexts.

Link copied to clipboard
sealed external interface MediaKeySessionClosedReason
Link copied to clipboard
sealed external interface MediaKeySessionType
Link copied to clipboard
external interface MediaKeysPolicy
Link copied to clipboard
sealed external interface MediaKeysRequirement
Link copied to clipboard
sealed external interface MediaKeyStatus
Link copied to clipboard

This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. Available only in secure contexts.

Link copied to clipboard
external class MediaKeySystemAccess

This EncryptedMediaExtensions API interface provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method. Available only in secure contexts.

Link copied to clipboard
external interface MediaKeySystemConfiguration
Link copied to clipboard