Skip to content

Do not wait for previously loaded playlist to reload on switch unless stale - #8107

Open
robwalch wants to merge 1 commit into
masterfrom
enhancement/wait-for-stale-live-playlist-refresh-only
Open

robwalch wants to merge 1 commit into
masterfrom
enhancement/wait-for-stale-live-playlist-refresh-only

Conversation

@robwalch

@robwalch robwalch commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

This PR will...

Change waitForLive so that stream controllers will load a switched tracks fragments or parts without waiting for the playlist to be reloaded - so long as the segment or part list has not "expired", and end-of-playlist has passed the load position without multiple stale responses.

Why is this Pull Request needed?

Improves unblocks segment or part loading when switching back to a recently loaded playlist.

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Re-selecting a live audio track waits for its stale playlist reload schedule (up to one target duration)

1 participant