Skip to content

Android Auto ExoPlayer seeking of the audio track creates error while seeking to the end of the track #1563

@parkbrakereminder

Description

@parkbrakereminder

Version

Media3 pre-release (alpha, beta or RC not in this list)

More version details

I used v1.3.1 with experiencing the error while testing in the vehicle, then reproduced on the Desktop Head Unit simulator. Linking my finding to the issue #1376, #1376.
Reproduction is on the tracks with the non-MP3 data at the end of the file.
Issue is present w v1.4.1-rc01
Issue is disappers by downgrading to v1.2.1

Devices that reproduce the issue

Samsung
+Desktop Head Unit
or any vehicle system w Android Auto, since UI is part of the companion device, so the seeking bar.

ExoPlayer versions >1.2.1

Devices that do not reproduce the issue

ExoPlayer versions = 1.2.1

Reproducible in the demo app?

Yes

Reproduction steps

play song w non-MP3 data inside the file and seek to the end of the file, while playing

Expected result

turn over to the next song in the playlist

Actual result

Source Error, player stops playing and freezes, by pushing the button to jump to the next song on the controls outside the player and then push play button -> next song is playing. So, I came to the MP3 Exractor Issue, related to wrong calculation of the file lenght.

Media

Screenshot 2024-07-24 183138
No_issue-w1 2 1
No_Issue-w1 2 1_dependencies
Screenshot 2024-07-24 183018
Screenshot 2024-07-24 183101

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