Files
shaka-player/lib
Jacob Trimble ec210cbe1d fix(media): Create segment iterator when needed.
This refactors the user of SegmentIterator to be more of a strict
iterator and avoids the extra work of seek().  This has been moved to
SegmentIndex as a getIteratorForTime() function.  This makes iterators
simpler and easier to understand.

This also refactors StreamingEngine to only create the iterator when
needed and to clear it when seeking.  This also makes it easier to
understand since you need to get a new position if we switch streams
or seek.

Fixes #2956
Closes #2970

Change-Id: If35a5d8aaba01598c526c2d70b9d9d0e305851c3
2020-11-19 15:41:03 -08:00
..