Class: shaka.dash.mpd.ContentProtection

Constructor

new ContentProtection()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

(nullable) defaultKeyId :string

A key ID, as a hex string, that identifies a decryption key for any content specified at the same level and all levels below this ContentProtection element.
Type:
  • string
Source:

element :Node

The entire ContentProtection XML element.
Type:
  • Node
Source:

pssh :shaka.dash.mpd.CencPssh

Type:
Source:

(nullable) schemeIdUri :string

Type:
  • string
Source:

Methods

parse(parent, elemnon-null)

Parses a "ContentProtection" tag.
Parameters:
Name Type Description
parent * The parent object.
elem Node The ContentProtection XML element.
Source: