Skip to content

LoudnessCodecController possibly missing on some devices causing crash #3107

@Tolriq

Description

@Tolriq

Version

Media3 main branch

More version details

No response

Devices that reproduce the issue

Random OEM devices

Devices that do not reproduce the issue

Most

Reproducible in the demo app?

Not tested

Reproduction steps

It seems some OEM strange TV devices can be missing the proper Loudness code and will crash when Media3 try to use it.

Failed resolution of: Landroid/media/LoudnessCodecController;

Would be nice to add a try catch for those thanks.

Expected result

No crash

Actual result

Crash

Media

N/A

Bug Report

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions