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

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

@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));

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions