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 shaka-project#1936
  • Loading branch information
theodab committed Sep 24, 2022
1 parent 83a420f commit 8f6b55a
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 333 deletions.
Loading

0 comments on commit 8f6b55a

Please sign in to comment.