mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-16 16:16:40 +03:00
1ab3f9c6db
As part of Period-flattening, I'm trying to remove our dependence on the "position" field of SegmentReference. With that eliminated, we can more easily concatenate Arrays of SegmentReferences without modifying them. - Make SegmentIndex iterable - Add specialized seek() and current() methods to SegmentIterator - Remove position from SegmentReference - Make positions in SegmentIndex API stable without field in reference - Remove brittle hard-coded positions in tests (except SegmentIndex tests, where they would be hard to avoid in testing methods separately) - Use SegmentIterator in StreamingEngine to track the next segment between switches Issue #892 (refactor StreamingEngine) Issue #1339 (period flattening) Change-Id: I666cc21249c34ee6cbc138a59109d9f1159fa127