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: Fix HLS lazy-loading exception during update #4648

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

joeyparrish
Copy link
Member

If a stream switch occurs during a playlist update, that update may need to be cancelled. This handles this edge case to prevent an exception trying to access stream.segmentIndex.

Closes #4647

@joeyparrish joeyparrish requested review from avelad and theodab November 3, 2022 00:57
@joeyparrish
Copy link
Member Author

I have yet to determine if new tests cases make sense for this. I will follow up.

If a stream switch occurs during a playlist update, that update may
need to be cancelled.  This handles this edge case to prevent an
exception trying to access stream.segmentIndex.

Closes shaka-project#4647
@joeyparrish joeyparrish force-pushed the fix-hls-lazy-loading-race-2 branch from 1089915 to 1df4bff Compare November 3, 2022 02:50
@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2022

Incremental code coverage: 100.00%

@avelad avelad added type: bug Something isn't working correctly component: HLS The issue involves Apple's HLS manifest format priority: P1 Big impact or workaround impractical; resolve before feature release labels Nov 3, 2022
@avelad avelad added this to the v4.3 milestone Nov 3, 2022
avelad
avelad previously approved these changes Nov 3, 2022
theodab
theodab previously approved these changes Nov 3, 2022
@joeyparrish joeyparrish dismissed stale reviews from theodab and avelad via 5078c17 November 4, 2022 02:04
@joeyparrish
Copy link
Member Author

New tests added.

@avelad avelad self-requested a review November 4, 2022 05:43
@avelad avelad merged commit 777c27e into shaka-project:main Nov 4, 2022
@joeyparrish joeyparrish deleted the fix-hls-lazy-loading-race-2 branch November 4, 2022 15:24
@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
component: HLS The issue involves Apple's HLS manifest format priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HLS - Lazy-Load: mergeAndEvict error
3 participants