diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 33df071a..8ebba8c5 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -1591,7 +1591,7 @@ public class ReactExoplayerView extends FrameLayout implements if (format.sampleMimeType != null) track.setMimeType(format.sampleMimeType); if (format.language != null) track.setLanguage(format.language); if (format.label != null) track.setTitle(format.label); - track.setSelected(isTrackSelected(selection, group, 0)); + track.setSelected(isTrackSelected(selection, group, trackIndex)); return track; }