Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Methods

createSession(sessionType?: MediaKeySessionType): MediaKeySession
setServerCertificate(serverCertificate: BufferSource): Promise<boolean>