Skip to main content
Module

x/evt/lib/types/index.ts>dom.MediaKeys

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MediaKeys
import { type dom } from "https://deno.land/x/evt@v2.4.13/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>