Skip to content

Support SCORE for prioritization of specific variants within a playlist #7538

Description

@robwalch

Is your feature request related to a problem? Please describe.

Currently, HLS.js only uses SCORE for arbitration when no factors other than playlist order remain in selection. This is incorrect.

Describe the solution you'd like

Always pick a variant from those with the highest SCORE, except those that are unplayable or would degrade playback (stall).

The best way to score variants is in tiers. Give multiple bitrate variants in an adaptation set (with the same codecs) the same score. The "better" or more efficient sets should be assigned the highest score. This will force the client to select the preferred adaptation set according to available resources. Unsupported variants or variants that cannot be played without stalling should not be chosen, regardless of SCORE.

Additional context

No response

Activity

  1. added
    Needs TriageIf there is a suspected stream issue, apply this label to triage if it is something we should fix.
    and removed
    Needs TriageIf there is a suspected stream issue, apply this label to triage if it is something we should fix.
    on Sep 12, 2025
  2. moved this from Top priorities to Backlog in HLS.js Release Planning and Backlogon Sep 12, 2025
  3. added this to the 1.8.0 milestone on May 21, 2026
  4. moved this from Backlog to Nice to have in HLS.js Release Planning and Backlogon May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions