import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { MediaKeys } = dom;
This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
Methods
createSession(sessionType?: MediaKeySessionType): MediaKeySession
setServerCertificate(serverCertificate: BufferSource): Promise<boolean>