Skip to content

Commit

Permalink
Reorder adaptive video track preferences.
Browse files Browse the repository at this point in the history
This change moves the video track selection to the generic
selection method introcuced for audio and text. This ensures
we can apply the same criteria for fixed and adaptive video
track selections. Implicitly, this reorders the preferences
for adaptive tracks to give non-quality preferences (like
preferred MIME type or preferred role flags) a higher priority
than number of tracks in the selection.

Issue: #9519
PiperOrigin-RevId: 422310902
  • Loading branch information
tonihei committed Jan 17, 2022
1 parent 3f47da1 commit 327ec97
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 375 deletions.
3 changes: 3 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
* Disable automatic speed adjustment for live streams that neither have
low-latency features nor a user request setting the speed
((#9329)[https://github.com/google/ExoPlayer/issues/9329]).
* Update video track selection logic to take preferred MIME types and role
flags into account when selecting multiple video tracks for adaptation
((#9519)[https://github.com/google/ExoPlayer/issues/9519]).
* Android 12 compatibility:
* Upgrade the Cast extension to depend on
`com.google.android.gms:play-services-cast-framework:20.1.0`. Earlier
Expand Down
Loading

1 comment on commit 327ec97

@rohitninawe
Copy link

@rohitninawe rohitninawe commented on 327ec97 Feb 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a fix for #9463 ?

Please sign in to comment.