Skip to content

setPreferredVideoMimeType/setPreferredVideoRoleFlags don't work for adaptive playbacks #9519

Closed
@ojw28

Description

@ojw28

As per title, the preferred video MIME type(s) don't seem to be used when making adaptive video track selections.

I found this when investigating #9463, where it would have been useful to provide the following as a viable workaround to prefer the H264 adaptation set:

trackSelector.setParameters(
    trackSelector
        .getParameters()
        .buildUpon()
        .setPreferredVideoMimeType(MimeTypes.VIDEO_H264));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions