-
Notifications
You must be signed in to change notification settings - Fork 769
Unable to play content with pre-roll in version 1.10.0 #3125
Copy link
Copy link
Closed
Labels
Description
Version
Media3 main branch
More version details
Branch: main
Release version: 1.10.0 - xxx
Devices that reproduce the issue
- All devices
Devices that do not reproduce the issue
- This bug does not appear in older versions like 1.9.x or below.
Reproducible in the demo app?
Yes
Reproduction steps
- Open the demo app
- Play the content like IMA sample ad tags / VMAP pre-roll
Expected result
Able to play the content with Pre-roll without issues.
This is a critical bug, so please fix it as soon as possible.
If there are any changes related to Ads handling, please check CSAI and SSAI function before releasing the new version.
Actual result
When playing content with a pre-roll, an error occurs as shown below. You can reproduce the error even with Media3's demo.
playerFailed [eventTime=0.57, mediaPos=0.00, window=0, period=0, errorCode=ERROR_CODE_UNSPECIFIED
androidx.media3.exoplayer.ExoPlaybackException: Unexpected runtime error
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:925)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:213)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at androidx.media3.exoplayer.ExoPlayerImplInternal.resolvePositionForPlaylistChange(ExoPlayerImplInternal.java:3738)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMediaSourceListInfoRefreshed(ExoPlayerImplInternal.java:2475)
at androidx.media3.exoplayer.ExoPlayerImplInternal.mediaSourceListUpdateRequestedInternal(ExoPlayerImplInternal.java:1032)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:784)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:213)
at android.os.HandlerThread.run(HandlerThread.java:67)
Media
You can reproduce the error even with Media3's demo.
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Reactions are currently unavailable