-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using segment position in HLS parser
As part of Period-flattening, I'm trying to reduce our dependence on the "position" field of SegmentReference. If it can be eliminated, we can more easily concatenate Arrays of SegmentReferences without modifying them. The HLS parser uses positions to find previously-resolved segment times when refreshing a live playlist. What we're really doing is using HLS media sequence numbers, since we use those to assign the segment positions in the first place. This change makes the use of media sequence numbers more explicit, and adds a per-Stream map from media sequence number to segment start time. The only other users of segment positions are StreamingEngine and various tests. Issue #1339 (period-flattening) Change-Id: If970ed2c8722ed5779a51349ca2e64208d78130d
- Loading branch information
1 parent
ea0131d
commit b0238c3
Showing
1 changed file
with
36 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters