You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make DefaultTrackSelector prefer more efficient video codecs (everything else being equal) #4835
If there are multiple video TrackGroups that are roughly equivalent except for the codec used, DefaultTrackSelector should prefer to select the TrackGroup that uses the most efficient codec*.
An exception would be if a less efficient codec appears to have a hardware decoder, where-as the more efficient codec does not.
Activity
manishPatwari commentedon Jan 9, 2019
@ojw28 Hello, Any update on this?
juechemparathy commentedon Sep 27, 2019
@ojw28 - Any updates on this? Thanks.
ScottPierce commentedon Feb 21, 2021
Any update on this?
kevinscroggins-youi commentedon Sep 28, 2021
Should in theory be able to work around this by hooking up the setPreferredAudio/VideoMimeType APIs on the DefaultTrackSelector.
https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#setPreferredVideoMimeType(java.lang.String)
Limit adaptive selections to same level of decoder support
Limit adaptive selections to same level of decoder support