Skip to content

Commit

Permalink
feat(HLS): Lazy-load HLS media playlists (#4511)
Browse files Browse the repository at this point in the history
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
theodab committed Oct 9, 2022
1 parent 9dd945c commit b2f279d
Show file tree
Hide file tree
Showing 5 changed files with 793 additions and 354 deletions.

0 comments on commit b2f279d

Please sign in to comment.