ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Audio file not seekable

Open RahulSOpenXcell opened this issue 3 years ago • 2 comments
trafficstars

ExoPlayer Version

2.18.1

Devices that reproduce the issue

All Device found that issue.

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

Play the attached media file. some audio file is working fine. maybe some issue in the media file. MeeraBai-Kaain Laage Gopal Meera Tharo.zip

Expected result

audio file seekable for any position.

Actual result

Audio file not seekable.

Media

MeeraBai-Kaain Laage Gopal Meera Tharo.zip

RahulSOpenXcell avatar Sep 06 '22 05:09 RahulSOpenXcell

I have checked by using FLAG_ENABLE_INDEX_SEEKING, which can be set on a DefaultExtractorsFactory using setMp3ExtractorFlags. it is working fine for that audio but any other audio file gets the duration value wrong when I have used mp3ExtractorFlag.

RahulSOpenXcell avatar Sep 06 '22 05:09 RahulSOpenXcell

This looks like it's probably a duplicate of https://github.com/google/ExoPlayer/issues/9408 (i.e. you're seeing issues due to using FLAG_ENABLE_INDEX_SEEKING when playing a file where it's not appropriate).

icbaker avatar Sep 08 '22 16:09 icbaker

Duplicate of #9408

icbaker avatar Oct 05 '22 17:10 icbaker