Interface 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.

    MDN Reference

    interface MediaKeySystemAccess {
        keySystem: string;
        createMediaKeys(): Promise<MediaKeys>;
        getConfiguration(): MediaKeySystemConfiguration;
    }

    Properties

    keySystem: string

    Methods