Class: shaka.dash.mpd.SegmentTimePoint

Constructor

new SegmentTimePoint()

Source:

Members

(static, constant) TAG_NAME :string

Type:
  • string
Source:

(nullable) duration :number

Type:
  • number
Source:

(nullable) repeat :number

Type:
  • number
Source:

(nullable) startTime :number

The start time of the media segment, in seconds, relative to the beginning of the Period.
Type:
  • number
Source:

Methods

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

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

parse(parentnon-null, elemnon-null)

Parses an "S" tag.
Parameters:
Name Type Description
parent shaka.dash.mpd.SegmentTimeline The parent SegmentTimeline.
elem Node The SegmentTimePoint XML element.
Source: