Options
All
  • Public
  • Public/Protected
  • All
Menu

This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.

Hierarchy

  • MediaKeys

Index

Methods

  • createSession(sessionType?: "persistent-license" | "temporary"): MediaKeySession
  • Parameters

    • Optional sessionType: "persistent-license" | "temporary"

    Returns MediaKeySession

  • setServerCertificate(serverCertificate: BufferSource): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

Generated using TypeDoc