Vinyl
    Preparing search index...

    Interface CommonEme

    Top-level Common EME methods for initiating encrypted audio session.

    Created to unify standard and non-standard EME interfaces.

    interface CommonEme {
        addEncryptedListener(
            element: HTMLMediaElement,
            handler: (event: CommonMediaEncryptedEvent) => void,
        ): Unsubscribe;
        requestMediaKeySystemAccess(
            keySystem: DrmKeySystem,
            supportedConfigurations: readonly MediaKeySystemConfiguration[],
        ): Promise<CommonMediaKeySystemAccess>;
    }

    Implemented by

    Index

    Methods