Version
Media3 1.4.0
More version details
No response
Devices that reproduce the issue
Emulator Android running android 11 - 15
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
- Load any first video
- Make devices offline
- scroll to second video
- Crash
Expected result
When device is offline, video should loaded from memory without any crash
Actual result
Playback crash with following stacktraces:
2024-07-29 10:28:11.206 7605-8770 AndroidRuntime E FATAL EXCEPTION: ExoPlayer:Playback
Process: com.vidio.android.debug, PID: 7605
java.lang.IllegalStateException
at androidx.media3.common.util.Assertions.checkState(Assertions.java:85)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.start(Loader.java:367)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.handleMessage(Loader.java:505)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-07-29 10:28:11.230 7605-8770 Uncaught Exception E null
java.lang.IllegalStateException
at androidx.media3.common.util.Assertions.checkState(Assertions.java:85)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.start(Loader.java:367)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.handleMessage(Loader.java:505)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
Media
Not applicable
Bug Report
Version
Media3 1.4.0
More version details
No response
Devices that reproduce the issue
Emulator Android running android 11 - 15
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Expected result
When device is offline, video should loaded from memory without any crash
Actual result
Playback crash with following stacktraces:
Media
Not applicable
Bug Report
adb bugreportto android-media-github@google.com after filing this issue.