Class: shaka.dash.mpd.ContentComponent

Constructor

new ContentComponent()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

(nullable) contentType :string

Should be 'video' or 'audio', not a MIME type.
Type:
  • string
Source:

(nullable) id :string

Type:
  • string
Source:

(nullable) lang :string

The language.
Type:
  • string
Source:
See:
  • IETF RFC 5646
  • ISO 639

Methods

parse(parentnon-null, elemnon-null)

Parses a "ContentComponent" tag.
Parameters:
Name Type Description
parent shaka.dash.mpd.AdaptationSet The parent AdaptationSet.
elem Node The ContentComponent XML element.
Source: