Class: shaka.dash.mpd.Representation

Constructor

new Representation()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

(nullable) bandwidth :number

Bandwidth required, in bits per second, to assure uninterrupted playback, assuming that |minBufferTime| seconds of video are in buffer before playback begins.
Type:
  • number
Source:

baseUrl :Array.<!goog.Uri>

Type:
  • Array.<!goog.Uri>
Source:

(nullable) codecs :string

Type:
  • string
Source:

(non-null) contentProtections :Array.<!shaka.dash.mpd.ContentProtection>

Type:
Source:

(nullable) height :number

Type:
  • number
Source:

(nullable) id :string

Type:
  • string
Source:

(nullable) lang :string

Never seen on the Representation itself, but inherited from AdapationSet for convenience.
Type:
  • string
Source:
See:
  • AdaptationSet.lang

(nullable) mimeType :string

Type:
  • string
Source:

segmentBase :shaka.dash.mpd.SegmentBase

Type:
Source:

segmentList :shaka.dash.mpd.SegmentList

Type:
Source:

segmentTemplate :shaka.dash.mpd.SegmentTemplate

Type:
Source:

(nullable) width :number

Type:
  • number
Source:

Methods

parse(parentnon-null, elemnon-null)

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