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): preserve discontinuitySequence in SegmentIndex#fit #5066

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

swac
Copy link
Contributor

@swac swac commented Mar 7, 2023

The discontinuitySequence field of the last SegmentReference was getting reset to 0 in this function, even if it was originally set to something other than 0. This was causing unnecessary resyncs for the final segment of the video in sequence mode.

@avelad avelad changed the title fix: preserve discontinuitySequence in SegmentIndex#fit fix(HLS): preserve discontinuitySequence in SegmentIndex#fit Mar 7, 2023
@avelad avelad added type: bug Something isn't working correctly component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround labels Mar 7, 2023
@avelad avelad added this to the v4.4 milestone Mar 7, 2023
@avelad avelad requested review from joeyparrish and theodab March 7, 2023 19:05
@avelad
Copy link
Member

avelad commented Mar 9, 2023

@swac can you fix the lint error? Thanks!

@swac swac force-pushed the segmentindexfix branch from ea0e0ec to 709ce0b Compare March 9, 2023 17:00
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

Incremental code coverage: 100.00%

@theodab theodab merged commit 36a15f6 into shaka-project:main Mar 11, 2023
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
The `discontinuitySequence` field of the last `SegmentReference` was getting reset to `0` in this function, even if it was originally set to something other than 0. This was causing unnecessary resyncs for the final segment of the video in sequence mode.
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
The `discontinuitySequence` field of the last `SegmentReference` was getting reset to `0` in this function, even if it was originally set to something other than 0. This was causing unnecessary resyncs for the final segment of the video in sequence mode.
@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: P2 Smaller impact or easy workaround 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.

3 participants