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(HLS): Consider skipped segments to calculate next media sequence #5414

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

diogoazevedos
Copy link
Contributor

@diogoazevedos diogoazevedos commented Jul 13, 2023

The _HLS_msn directive must be the next media sequence number to block playlist reload. The actual logic uses the EXT-X-MEDIA-SEQUENCE plus the number of segments. However, a playlist may skip segments, so it should also consider EXT-X-SKIP:SKIPPED-SEGMENTS.

@google-cla
Copy link

google-cla bot commented Jul 13, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@diogoazevedos diogoazevedos changed the title Consider skipped segments to calculate next media sequence fix(HLS): Consider skipped segments to calculate next media sequence Jul 13, 2023
@diogoazevedos diogoazevedos force-pushed the fix/ll-hls-compliance branch from 89720ae to 2b9edb1 Compare July 13, 2023 14:24
@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

@diogoazevedos diogoazevedos force-pushed the fix/ll-hls-compliance branch from 2b9edb1 to 32e2510 Compare July 13, 2023 16:28
@diogoazevedos diogoazevedos marked this pull request as ready for review July 13, 2023 16:29
@joeyparrish joeyparrish merged commit b7d2305 into shaka-project:main Jul 19, 2023
@diogoazevedos diogoazevedos deleted the fix/ll-hls-compliance branch July 19, 2023 19:44
@joeyparrish
Copy link
Member

This didn't cherry-pick cleanly into v4.3.x or v4.2.x. If you believe a similar fix is necessary for those branches, please create a PR that targets v4.3.x and/or v4.2.x. Thanks!

@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Sep 17, 2023
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Sep 17, 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.

3 participants