google / google/ExoPlayer

Add TrackSelectionView to choose track selection constraints instead of specific tracks

Open
#5,750 4 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm looking for a way to display a picker for the user to choose audio language. I'm currently using the TrackSelectionView.

However, if I have a DASH-manifest with an AdaptationSet for audio that has multiple Representations the TrackSelectionView will display all of these Representations. Even worse, if I have 4 different languages with each having 6 Representations there will be 24 different options in the TrackSelectionView for audio which isn't very user friendly.

Is there are way to use the TrackSelectionView and let it only display the AdaptationSets and not the Representations for audio?

Thanks,
Martin

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.