Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit b15e333

Browse files
committed
fix with dirty hack: ryanheise#650 (comment)
1 parent 3622d11 commit b15e333

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

just_audio/android/src/main/java/com/ryanheise/just_audio/AudioPlayer.java

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public AudioPlayer(final Context applicationContext, final BinaryMessenger messe
144144
dataEventChannel = new BetterEventChannel(messenger, "com.ryanheise.just_audio.data." + id);
145145
processingState = ProcessingState.none;
146146
extractorsFactory.setConstantBitrateSeekingEnabled(true);
147+
extractorsFactory.setMp3ExtractorFlags(com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.FLAG_ENABLE_INDEX_SEEKING);
147148
if (audioLoadConfiguration != null) {
148149
Map<?, ?> loadControlMap = (Map<?, ?>)audioLoadConfiguration.get("androidLoadControl");
149150
if (loadControlMap != null) {

0 commit comments

Comments
 (0)