Skip to content

EXTRA_ENCODINGS of ACTION_HDMI_AUDIO_PLUG intent of AudioManager reports EAC3 even when user has selected PCM only in Audio Output #7669

@PratimMallick

Description

@PratimMallick

Using a TCL AndroidTV to play dolby digital stream(Ec3) and an external 5.1 is connected to the TV via HDMI ARC.

While deciding the AudioCapabilities we are reading the EXTRA_ENCODINGS of ACTION_HDMI_AUDIO_PLUG intent of audioManager. This reports the correct value of ENCODING_E_AC3 when Auto or Passthrough option is selected in the android tv's 'Digital Audio Out' user settings.
But when PCM is selected in this setting, the EXTRA_ENCODINGS still give a value of ENCODING_E_AC3 and maxChannelCount also comes to be 6 suggesting passthrough is possible.

Is this expected or a bug in Android framework? How does exoplayer detect the user setting correctly? Is there any Key that should be read by exoplayer?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions