Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix audio track selection if multiple renderers are used
When ExoPlayer has to use multiple different renderers, the order of mapped track groups returned by the player may not conform to the order of media streams in the media source. Unfortunately, ExoPlayer doesn't allow accessing the original TrackGroups that are kept in the MediaPeriod, thus we instead simply sort the available groups by the format id.
- Loading branch information