Constructor
new SegmentIterator(segmentIndex, index, partialSegmentIndex)
Parameters:
Name | Type | Description |
---|---|---|
segmentIndex |
shaka.media.SegmentIndex | |
index |
number | |
partialSegmentIndex |
number |
- Implements:
- Iterator.<shaka.media.SegmentReference>
- Source:
Members
Methods
next()
- Source:
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: