DRMOptions

Source: View.js:681

the options for DRM playback

Properties

  • keyId (String) — 16-byte KeyID, in lowercase hexadecimal without separators
  • iv (String) — 16-byte initialization vector, in lowercase hexadecimal without separators //**
  • videoElement (HTMLVideoElement) — the video HTML element
  • videoEncryptionParams (EncryptionParameters) — the video encryption parameters
  • videoMid (String) — the video media ID of RTCRtpTransceiver
  • audioElement (HTMLAudioElement) — the audio HTML audioElement
  • audioEncryptionParams (EncryptionParameters, optional) — the audio encryption parameters
  • audioMid (String, optional) — the audio media ID of RTCRtpTransceiver
  • mediaBufferMs (Number, optional) — average target latency in milliseconds

Type

Object