Constructor
new SegmentTemplate()
- Source:
Members
-
(static, constant) TAG_NAME :string
-
Type:
- string
- Source:
-
(nullable) indexUrlTemplate :string
-
Type:
- string
- Source:
-
(nullable) initializationUrlTemplate :string
-
Type:
- string
- Source:
-
(nullable) mediaUrlTemplate :string
-
Type:
- string
- Source:
-
(nullable) presentationTimeOffset :number
-
Type:
- number
- Source:
-
(nullable) segmentDuration :number
-
Each segment's duration. This value is never zero.
Type:
- number
- Source:
-
startNumber :number
-
The segment number (one-based) of the first segment specified in the SegmentTemplates'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.SegmentTemplate}
-
Creates a deep copy of this SegmentTemplate.
- Source:
Returns:
-
parse(parent, elemnon-null)
-
Parses a "SegmentTemplate" tag.
Parameters:
Name Type Description parent
* The parent object. elem
Node The SegmentTemplate XML element. - Source: