Skip to content

Audio Tracks FORMAT_EXCEEDS_CAPABILITIES #5145

Closed
@andrewger157

Description

Issue description

Hi,
I'm implementing the audio track selection on my app using 'TrackSelectionView' as done in the demo app.
Everything works correctly except on some devices where the control to make the audio track selectable or not "trackInfo.getTrackSupport (rendererIndex, groupIndex, trackIndex)" returns me 2 (that is FORMAT_EXCEEDS_CAPABILITIES).

I specify that the default audio track is played correctly on these devices too.

I tried to customize the 'TrackSelectionView' class by removing this control and leaving all the audio tracks selectable; the result was that even on devices that previously did not allow to select audio tracks, these are now played correctly without apparent errors.

I wanted to ask you:
1 - Because leaving the standard implementation I can not select these audio tracks that are reproducible by the device?

2- Using my workaround, what problems could I encounter?

Version of ExoPlayer being used

2.9.1

Device(s) and version(s) of Android being used

Samsung A3 with Android 6.0
Samsung S3 Neo Android 4.4.2

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions