Class: shaka.media.SegmentIterator

Constructor

new SegmentIterator(segmentIndex, index)

Parameters:
Name Type Description
segmentIndex shaka.media.SegmentIndex
index number
Implements:
Source:

Members

nextPosition_ :number

Type:
  • number
Source:

Methods

seek(time) → {shaka.media.SegmentReference}

Move the iterator to a given timestamp in the underlying SegmentIndex.
Parameters:
Name Type Description
time number
Source:
Returns:
Type
shaka.media.SegmentReference