Class: shaka.media.SegmentIterator

Constructor

new SegmentIterator(segmentIndex, index, partialSegmentIndex)

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

Members

currentPartialPosition_ :number

Type:
  • number
Source:

currentPosition_ :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
Deprecated:
  • Use SegmentIndex.getIteratorForTime instead
Source:
Returns:
Type
shaka.media.SegmentReference