import { type MediaKeys } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
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.
Methods
createSession(sessionType?: MediaKeySessionType): MediaKeySession
setServerCertificate(serverCertificate: BufferSource): Promise<boolean>