Skip to content

Commit

Permalink
feat(HLS): Lazy-load HLS media playlists
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.

Closes #1936
  • Loading branch information
theodab committed Oct 3, 2022
1 parent 3582f0a commit 631b1fb
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 333 deletions.

0 comments on commit 631b1fb

Please sign in to comment.