Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Frequent Manifest Updates #3483

Merged
merged 2 commits into from
Jun 24, 2021

Conversation

avelad
Copy link
Member

@avelad avelad commented Jun 23, 2021

Close: #3332

@@ -896,6 +897,8 @@ shaka.extern.ManifestConfiguration;
* If true, if the protocol is HTTP change it to HTTPs.
* @property {boolean} preferNativeHls
* If true, prefer native HLS playback when possible, regardless of platform.
* @property {number} updateIntervalSeconds
* The minimum number of seconds to see if the manifest has changes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for now, but you're really making me wonder if we should have an event instead. The manifest parser could send an event (through the player, to keep streaming decoupled) any time it updates. It might be a little weird with the updateEvery() method we use for SegmentTemplate+duration, but once we have a mechanism for closing SegmentIndexes that we aren't using (thanks, @michellezhuogg!), that event would only fire once per media type (audio + video + maybe text).

@avelad avelad requested a review from michellezhuogg June 24, 2021 05:48
@shaka-bot
Copy link
Collaborator

All tests passed!

@joeyparrish joeyparrish merged commit 6e69bed into shaka-project:master Jun 24, 2021
@avelad avelad deleted the frequentManifestUpdates branch June 25, 2021 06:06
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants