Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audio track selection if multiple renderers are used #1033

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

Maxr1998
Copy link
Member

No description provided.

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.
@Maxr1998 Maxr1998 added the bug Something isn't working label Apr 27, 2023
@Maxr1998 Maxr1998 added this to the v2.5.0 milestone Apr 27, 2023
@Maxr1998 Maxr1998 requested a review from nielsvanvelzen April 27, 2023 20:36
@nielsvanvelzen nielsvanvelzen merged commit 6547b72 into master Apr 28, 2023
@nielsvanvelzen nielsvanvelzen deleted the fix-audio-track-selection branch April 28, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants