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(DASH): Use labels to stitch streams across periods #6121

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

tykus160
Copy link
Member

If available streams differ only by label, PeriodCombiner does not take it into account when looking for the best candidate. Due to that streams from newly arrived periods will create new audio tracks, as existing streams match always with firstly found stream from new period.

Issue has been mitigated by recent PeriodCombiner improvements, as label has been used for hash generation. But if hash don't match i.e. due to bandwidth change, issue would still appear.

I haven't added similar check for video streams because I'm not sure what should be the precedence of it. If any suggestions, I'm happy to add it as well!

@avelad avelad requested review from littlespex and theodab January 18, 2024 15:17
@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround component: DASH The issue involves the MPEG DASH manifest format labels Jan 18, 2024
@avelad avelad added this to the v5.0 milestone Jan 18, 2024
@avelad avelad requested a review from joeyparrish January 19, 2024 16:14
@avelad
Copy link
Member

avelad commented Jan 26, 2024

@theodab can you review it? Thanks!

@joeyparrish joeyparrish changed the title fix(DASH): PeriodCombiner - compare labels fix(DASH): Use labels to stitch streams across periods Feb 20, 2024
@joeyparrish joeyparrish merged commit 0de7af9 into shaka-project:main Feb 20, 2024
17 of 22 checks passed
joeyparrish pushed a commit that referenced this pull request Feb 20, 2024
If available streams differ only by label, PeriodCombiner does not take it into account when looking for the best candidate. Due to that streams from newly arrived periods will create new audio tracks, as existing streams match always with firstly found stream from new period.

Issue has been mitigated by recent PeriodCombiner improvements, as label has been used for hash generation. But if hash don't match i.e. due to bandwidth change, issue would still appear.
joeyparrish pushed a commit that referenced this pull request Feb 20, 2024
If available streams differ only by label, PeriodCombiner does not take it into account when looking for the best candidate. Due to that streams from newly arrived periods will create new audio tracks, as existing streams match always with firstly found stream from new period.

Issue has been mitigated by recent PeriodCombiner improvements, as label has been used for hash generation. But if hash don't match i.e. due to bandwidth change, issue would still appear.
joeyparrish pushed a commit that referenced this pull request Feb 20, 2024
If available streams differ only by label, PeriodCombiner does not take it into account when looking for the best candidate. Due to that streams from newly arrived periods will create new audio tracks, as existing streams match always with firstly found stream from new period.

Issue has been mitigated by recent PeriodCombiner improvements, as label has been used for hash generation. But if hash don't match i.e. due to bandwidth change, issue would still appear.

Backported to v4.3.x
@tykus160 tykus160 deleted the wt-pc-label branch February 20, 2024 22:29
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 20, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Apr 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: DASH The issue involves the MPEG DASH 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.

4 participants