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

DASH: Fix track duplication when merging more than one switchable AdaptationSet #1279

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

peaBerberian
Copy link
Collaborator

The RxPlayer merge together multiple DASH AdaptationSet with similar characteristics and a two-ways "adaptation-set-switching" SupplementalProperty into a single track, as this is a trick often used by packagers to make a single "track" linked to several key ids compliant with the DASH-IF IOP while still allowing navigating between the two freely through adaptive bitrate mechanisms.

I noticed that, because of a forgotten break; call, we could have duplicate tracks if at least 3 AdaptationSet where "switchable" (with the duplicate being the last one encountered each time).

This is not a huge deal, as the video track has in any case less priority, and is still a playable track, but it was still unwanted.

This is now fixed.

…ptationSet

The RxPlayer merge together multiple DASH AdaptationSet with similar
characteristics and a two-ways `"adaptation-set-switching"`
SupplementalProperty into a single track, as this is a trick often used
to make a single "track" linked to several key ids compliant with the
DASH-IF IOP while still allowing navigating between the two freely
through adaptive bitrate mechanisms.

I noticed that, because of a forgotten `break;` call, we could have
duplicate tracks if at least 3 AdaptationSet where "switchable" (with
the duplicate being the last one encountered each time).

This is not a huge deal, as the video track has in any case less
priority, and is still a playable track, but it was still unwanted.

This is now fixed.
@peaBerberian peaBerberian added this to the 3.32.0 milestone Sep 25, 2023
@peaBerberian peaBerberian merged commit 0cf1f7c into master Sep 26, 2023
3 checks passed
@peaBerberian peaBerberian mentioned this pull request Oct 2, 2023
@peaBerberian peaBerberian deleted the fix/remove-duplicate-AdaptationSet branch February 7, 2024 16:31
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.

None yet

1 participant