Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HLS): Lazy-load HLS media playlists (#4511)
This changes the HLS parser so that the media playlists are only downloaded when the createSegmentIndex function for the associated stream is called. Because there is some important information about HLS streams that is stored inside the media playlist, this also changes the player to call createSegmentIndex on the initial variant earlier in the load process, to make sure that information is available in time. As of this change, we will now require HLS streams to be aligned (see #4308) for livestreams. VOD content can still be unaligned. Closes #1936
- Loading branch information