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 variant filtering by preferredAudioChannelCount #5859

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Nov 6, 2023

Fixes #5858

@avelad avelad added this to the v4.6 milestone Nov 6, 2023
@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Nov 6, 2023
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

Copy link
Contributor

@theodab theodab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I approve of this change.

It did make me realize that our extern descriptions for these preference values are kind of poorly written though.

preferredVideoCodecs, preferredAudioCodecs, and preferredDecodingAttributes are hard restrictions that are used to filter the manifest.
preferredAudioLanguage, preferredVariantRole, preferredAudioChannelCount (after this change), preferredVideoHdrLevel, preferredVideoLayout, and preferredAudioLabel are soft preferences that are used for our PreferenceBasedCriteria system.

Despite the different inner workings of these groups of configs, their names and descriptions don't really do much to tell the developer which is which. That seems like a failure of documentation to me...

Well, that's outside the scope of this PR.

@avelad avelad merged commit 51edeae into shaka-project:main Nov 6, 2023
19 of 20 checks passed
@avelad avelad deleted the channels-count-filtering branch November 7, 2023 09:17
Robloche pushed a commit to Robloche/shaka-player that referenced this pull request Nov 30, 2023
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jan 5, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jan 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

DASH: Missing Variant Tracks for Audio Representations in a Single AdaptationSet
3 participants