-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Trackselection Playback error on onResume #9718
Labels
Comments
Thanks for reporting, I can reproduce this problem. |
ponthamaya
changed the title
Playback error on onResume
Trackselection Playback error on onResume
Dec 1, 2021
tonihei
added a commit
to androidx/media
that referenced
this issue
Dec 2, 2021
This allows to give TrackGroups an identifier. The underlying goal is to provide a way to make otherwise identical TrackGroups distinguishable. Also set this id in all internal sources that may produce identical TrackGroups in certain edge cases. Issue: google/ExoPlayer#9718 PiperOrigin-RevId: 413430719
tonihei
added a commit
to androidx/media
that referenced
this issue
Dec 2, 2021
Allowing duplicate groups caused some other code working with the array to use reference equality comparison. This is error-prone, easily forgotten (e.g. when using the TrackGroups in a map) and causes bugs when TrackGroups are serialized to disk or to another process. All TrackGroups created by ExoPlayer are already unique and custom code creating TrackGroupArrays with identical groups can easily distringuish them by adding an id to each group. Issue: google/ExoPlayer#9718 PiperOrigin-RevId: 413617005
tonihei
added a commit
that referenced
this issue
Dec 2, 2021
This allows to give TrackGroups an identifier. The underlying goal is to provide a way to make otherwise identical TrackGroups distinguishable. Also set this id in all internal sources that may produce identical TrackGroups in certain edge cases. Issue: #9718 PiperOrigin-RevId: 413430719
tonihei
added a commit
that referenced
this issue
Dec 2, 2021
Allowing duplicate groups caused some other code working with the array to use reference equality comparison. This is error-prone, easily forgotten (e.g. when using the TrackGroups in a map) and causes bugs when TrackGroups are serialized to disk or to another process. All TrackGroups created by ExoPlayer are already unique and custom code creating TrackGroupArrays with identical groups can easily distringuish them by adding an id to each group. Issue: #9718 PiperOrigin-RevId: 413617005
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I got the error when I minimized the app and resumed back.
Reproduce:
Change the audio track from StyledPlayerView control settings below the Playspeed. you will get the playback error when you minimize the app and resume back.
The text was updated successfully, but these errors were encountered: