Skip to content

Audio track selection always prefers first renderer #4711

Description

@ojw28

When there are two audio renderers (e.g. because the FFmpeg extension is being used), track groups are mapped to both of them, and the application specifies a constraint on track selection, DefaultTrackSelector will always prefer a track mapped to the first renderer, even if the constraint is better satisfied by a track in the second selection. We should instead select a track for the second audio renderer in this case.

The same argument may apply for video as well, although this might be less clear cut.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions