vot.js - v2.4.12
    Preparing search index...

    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.

    MDN Reference

    interface MediaKeys {
        createSession(sessionType?: MediaKeySessionType): MediaKeySession;
        getStatusForPolicy(policy?: MediaKeysPolicy): Promise<MediaKeyStatus>;
        setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;
    }
    Index

    Methods

    • Parameters

      Returns Promise<boolean>