Reload undefined EXT-X-PLAYLIST-TYPE based on Expires header

Open
#7,082 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by locating the media-playlist reload logic and the handling of EXT-X-PLAYLIST-TYPE, EXT-X-ENDLIST, and Expires headers. Compare the current behavior with the HLS reload rules described in the issue. Done means VOD playlists are treated as immutable, Event playlists follow the stated start and end rules, and undefined playlist types use Expires appropriately.

Written by the indexing model from the issue text.

Description

Live

Implement reload rules based on EXT-X-PLAYLIST-TYPE and Expires header:

  • "VOD" immutable
  • "Event" start immutable and end immutable after ENDLIST
  • undefined elements can be removed from the start even after ENDLIST

The HLS spec says to use "Expires" headers to determine when/if to reload media playlists with an EXT-X-ENDLIST tag that is does not have a EXT-X-PLAYLIST-TYPE value of VOD.

Dominant language
TypeScript
Stars
16.9k
Forks
2.8k
Avg merge
1d 12h
Merged PRs (30d)
27

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from video-dev/hls.js

All issues in video-dev/hls.js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.