Skip to content

Fix stereo-only start tier selection without audio preference - #8207

Open
gmcgarry wants to merge 1 commit into
video-dev:masterfrom
DolbyLaboratories:dolby/gmcga-stereo-start-tier
Open

gmcgarry wants to merge 1 commit into
video-dev:masterfrom
DolbyLaboratories:dolby/gmcga-stereo-start-tier

Conversation

@gmcgarry

@gmcgarry gmcgarry commented Dec 1, 2026

Copy link
Copy Markdown

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:

  • applies the stereo filter when stereo is explicitly preferred
  • without an audio codec preference, keeps the stereo default but prefer codecs with a higher SCORE at startup

Note: SCORE is used only to rank codec sets at startup. The stereo default from #5978 is preserved for playlists without SCORE.

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

No deployments
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.

1 participant