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

Fix issue that causes DISCONTINUITY values to be reassigned incorrectly #3567

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Mar 5, 2021

This PR will...

Fix an issue that causes DISCONTINUITY values to be reassigned incorrectly.

Why is this Pull Request needed?

level.fragmentHint should only be set on playlists with LL-HLS parts, and should not be used to detect "discontinuity sliding from playlist" in mergeDetails on live playlist update, as they could have a different discontinuity sequence number than the matching fragment in the next update. This results in a ccOffset that adjusts segments discontinuity sequence numbers incorrectly. We don't want that because then audio and video playlist alignment shifts things around, and it's a bad time for everyone.

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

`level.fragmentHint` should only be set on playlists with parts, as it can misrepresent the ending discontinuity sequence number on playlists without them
@robwalch robwalch added this to the 1.0.0 milestone Mar 5, 2021
@robwalch robwalch merged commit f3e2e99 into master Mar 5, 2021
@robwalch robwalch deleted the bugfix/fraghint-discontinuity-side-effect branch March 5, 2021 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant