Class: shaka.dash.mpd.AdaptationSet

Constructor

new AdaptationSet()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
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) contentType :string

Should be 'video' or 'audio', not a MIME type. If not specified, will be inferred from the MIME type.
Type:
  • string
Source:

(nullable) group :number

This value is never null after parsing.
Type:
  • number
Source:

(nullable) height :number

Type:
  • number
Source:

(nullable) id :string

Type:
  • string
Source:

(nullable) lang :string

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

main :boolean

Type:
  • boolean
Source:

(nullable) mimeType :string

If not specified, will be inferred from the first representation.
Type:
  • string
Source:

(non-null) representations :Array.<!shaka.dash.mpd.Representation>

Type:
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 an "AdaptationSet" tag.
Parameters:
Name Type Description
parent shaka.dash.mpd.Period The parent Period.
elem Node The AdaptationSet XML element.
Source: