Repository navigation
Conversation
getStartCodecTier rejected any codec set without a 2-channel rendition whenever no audio codec preference was set. For streams where the surround (DD+) variants share a codec set with no stereo rendition, this left startup stuck on the stereo HE-AAC codec set, and ABR never moved to the 5.1 renditions. Apply the stereo filter when stereo is explicitly preferred. Without an audio codec preference, keep the stereo default only when no codec set has a SCORE, so that SCORE ranks codec sets when present. Add unit tests covering the default, stereo-preferred, and no-SCORE cases. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getStartCodecTier() rejected any codec set without a 2-channel rendition whenever an audio codec preference was not set.
When the surround (DD+) variants share a codec set with no stereo rendition, startup stayed on the stereo HE-AAC codec set and ABR never moved to the 5.1 renditions.
This change:
Note: SCORE is used only to rank codec sets at startup. The stereo default from #5978 is preserved for playlists without SCORE.