How to tell MediaItem.SubtitleConfiguration
s apart in ExoPlayer.getCurrentTracksInfo().getTrackGroupInfos()
?
#9673
Labels
I'm using latest ExoPlayer 2.16.0. Let's say I want to save and restore user selected audio and subtitle "tracks" on app restart. If I add multiple
MediaItem.SubtitleConfiguration
s, how I can I distinguish these inExoPlayer.getCurrentTracksInfo().getTrackGroupInfos()
?MediaItem.SubtitleConfiguration
doesn't let me specify any id. Label or user facing name may not be necessarily unique, especially if I allow users loading subtitles. The only difference may be the subtitle content/uri.In ExoPlayer 2.15.1, I was able to tell a difference from
DefaultTrackSelector.SelectionOverride.groupIndex
.The text was updated successfully, but these errors were encountered: