Class: shaka.dash.mpd.SegmentList

Constructor

new SegmentList()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

baseUrl :Array.<!goog.Uri>

This not an actual XML attribute of SegmentList. It is inherited from the SegmentList's parent Representation.
Type:
  • Array.<!goog.Uri>
Source:

initialization :shaka.dash.mpd.Initialization

Type:
Source:

(nullable) presentationTimeOffset :number

Type:
  • number
Source:

(nullable) segmentDuration :number

Each segment's duration. This value is never zero.
Type:
  • number
Source:

(non-null) segmentUrls :Array.<!shaka.dash.mpd.SegmentUrl>

Type:
Source:

startNumber :number

The segment number (one-based) of the first segment specified in the SegmentList's corresponding Representation, relative to the start of the Representation's Period.
Type:
  • number
Source:

timeline :shaka.dash.mpd.SegmentTimeline

Type:
Source:

(nullable) timescale :number

Type:
  • number
Source:

Methods

clone() → (non-null) {shaka.dash.mpd.SegmentList}

Creates a deep copy of this SegmentList.
Source:
Returns:
Type
shaka.dash.mpd.SegmentList

parse(parent, elemnon-null)

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