Skip to content

Make DefaultTrackSelector prefer more efficient video codecs (everything else being equal) #4835

Closed

Description

@ojw28

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

  1. self-assigned this
    on Sep 18, 2018
  2. manishPatwari commented on Jan 9, 2019

    @manishPatwari

    @ojw28 Hello, Any update on this?

  3. juechemparathy commented on Sep 27, 2019

    @juechemparathy

    @ojw28 - Any updates on this? Thanks.

  4. ScottPierce commented on Feb 21, 2021

    @ScottPierce

    Any update on this?

  5. kevinscroggins-youi commented on Sep 28, 2021

    @kevinscroggins-youi

    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)

  6. locked and limited conversation to collaborators on Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions