Android Studio – How to Select specific tracks in Exoplayer latest release 2.18.0
I have tried the code from exoplayer documentation, it works but when I fetch selected track it shows the default track which I already changed. player.setTrackSelectionParameters( player.getTrackSelectionParameters() .buildUpon() .setOverrideForType( new TrackSelectionOverride( audioTrackGroup.getMediaTrackGroup(), /* trackIndex= */ 0)) .build()); The code I…