Is your feature request related to a problem? Please describe.
Standalone com.google.android.exoplayer2 is discontinued. This plugin still depends on com.google.android.exoplayer:exoplayer:2.17.1 for Android playback in AudioPlayer.kt.
Describe the solution you'd like
Migrate Android playback to Jetpack Media3 (androidx.media3:media3-exoplayer), following https://developer.android.com/media/media3/exoplayer/migration-guide.
The change is limited to the Android player module. The Dart PlayerController API stays the same.
Describe alternatives you've considered
Google's media3-migration.sh targets ExoPlayer 2.19.1 to Media3 1.1.1. This repo is on 2.17.1 and should move to current Media3, so a manual migration of the small playback surface is preferable.
Additional context
- Current dependency:
com.google.android.exoplayer:exoplayer:2.17.1
- Usage is only in
android/src/main/kotlin/com/simform/audio_waveforms/AudioPlayer.kt
- Waveform extraction and recording do not use ExoPlayer
- Plugin
minSdk should align with Media3 1.9+ (23), which is already documented
Is your feature request related to a problem? Please describe.
Standalone
com.google.android.exoplayer2is discontinued. This plugin still depends oncom.google.android.exoplayer:exoplayer:2.17.1for Android playback inAudioPlayer.kt.Describe the solution you'd like
Migrate Android playback to Jetpack Media3 (
androidx.media3:media3-exoplayer), following https://developer.android.com/media/media3/exoplayer/migration-guide.The change is limited to the Android player module. The Dart
PlayerControllerAPI stays the same.Describe alternatives you've considered
Google's
media3-migration.shtargets ExoPlayer 2.19.1 to Media3 1.1.1. This repo is on 2.17.1 and should move to current Media3, so a manual migration of the small playback surface is preferable.Additional context
com.google.android.exoplayer:exoplayer:2.17.1android/src/main/kotlin/com/simform/audio_waveforms/AudioPlayer.ktminSdkshould align with Media3 1.9+ (23), which is already documented