-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExoPlayer crashes on DRM protected contents with IMA ads #9617
Comments
This sounds like a duplicate of #8696 but there isn't quite enough information in the provided logcat snippet to be sure. Can you either provide a full
If it is a duplicate of that issue then you may be able to fix the problem using |
@icbaker Yes I see the following error before the stacktrace:
Also using setDrmSessionForClearPeriods(true) doesn't solve the issue. The difference is that without the option the crash happens right before the first midroll. With it the crash happens right after preroll. |
This is likely because the ad has different decoder requirements to the content, so the decoder has to be re-initialized when transitioning from the pre-roll to the content, even though both are secure decoders: #8696 (comment) |
Duplicate of #8696. |
This crash is 100% reproducible with DRM protected contents with IMA ads. Right now it only happens on my Pixel 2XL android 11. I also found a way to reproduce with ExoPlayer demo app:
(1) Check out to r2.15.0
(2) Add a sample to media.exolist.json:
(3) Open that sample from demo app, wait for preroll to finish, the playback will crash after 15 seconds.
Crash log:
The text was updated successfully, but these errors were encountered: