Skip to content

Some MP3 no more have duration and can't be seeked #2848

@Tolriq

Description

@Tolriq

Version

Media3 main branch

More version details

Last commit from today.

Devices that reproduce the issue

All

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

Play attached media with Mp3Extractor(Mp3Extractor.FLAG_ENABLE_INDEX_SEEKING) or Mp3Extractor(Mp3Extractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING or Mp3Extractor.FLAG_ENABLE_INDEX_SEEKING)

Removing FLAG_ENABLE_INDEX_SEEKING restore normal behavior (or use Mp3Extractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING)

From the docs enabling FLAG_ENABLE_INDEX_SEEKING disable FLAG_ENABLE_CONSTANT_BITRATE_SEEKING so is maybe the cause ? I was hoping the last commits would allow to have all the cases working properly now.

Expected result

Media can be seek and report duration.

Actual result

Media can't be seek and no duration reported.

Media

Ed Sheeran - + - 01 - The A Team.mp3

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