androidx / androidx/media

Is there a way in ExoPlayer to disable one of the variant in master manifest (for example disable all AV1 videos)?

Open
#2,608 2 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Jul 16, 2025.

question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

I am trying to customize Android ExoPlayer (version 1.4.1) so that it can disable track variants even if it exists in the master manifest.

I know we have TrackSelectionOverride option. However, I need to make sure that the variant is really never selected, as in the update should be applied as soon as the master manifest is downloaded.

Currently, there seems to not have an ExoPlayer callback for when master manifest is downloaded. How should I achieve this? Is there a function to tell trackSelector to not choose a variant or where should I put my TrackSelectionOverride? Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.