这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@AndyWangLYN

Description

@AndyWangLYN

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!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions