Class: shaka.dash.mpd.Period

Constructor

new Period()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

(non-null) adaptationSets :Array.<!shaka.dash.mpd.AdaptationSet>

Type:
Source:

baseUrl :Array.<!goog.Uri>

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

(nullable) duration :number

The duration in seconds.
Type:
  • number
Source:

(nullable) id :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) start :number

The start time of the Period, in seconds, with respect to the media presentation timeline. Note that the Period becomes/became available at Mpd.availabilityStartTime + Period.start.
Type:
  • number
Source:

Methods

(private) assignGroups_()

Assigns a unique non-zero group to each AdaptationSet without an explicitly set group.
Source:
See:
  • ISO/IEC 23009-1 5.3.3.1

parse(parentnon-null, elemnon-null)

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