Open devno44 opened 4 months ago
This error doesn't happen all the time, it only happens occasionally when the Ad is played, and will probably be difficult to reproduce. Therefore, is there any way to avoid the app crashing after this error occurs? For example, using try-catch?
Can you provide us with an assetKey
to test and repro with?
@marcbaechinger Like I said before, I'm not sure how it's reproduced, it doesn't happen often, it happens occasionally, and it's not always reproducible. This crash is also reported a lot on firebase from our users, but we don't know how to investigate what the cause is.
Thanks for your response. I understand it doesn't repro easily but without having a stream that is producing the problem, it is hard for me to do something.
An assetKey
of a stream that produces the problem would make this issue actionable for me. If you're unable to share test content publicly, please send them to android-media-github@google.com using a subject in the format "Issue #1520". Please also update this issue to indicate you’ve done this.
@marcbaechinger Thank you, I will discuss with my team about creating a content for testing. But before that, is there any solution that can avoid that error? At least it won't cause the app to crash ?
Therefore, is there any way to avoid the app crashing after this error occurs? For example, using try-catch?
I don't think so. The assertion is set at the place where the problem starts. If we catch it there, it would crash some later without us knowing exactly where it started.
We'll look into this when we have the media.
I have this problem since 2 days after something upgraded in my device. All apps that use rewarded ads crash for me. Will post a logcat after it happens again.
Version
Media3 1.3.1
More version details
No response
Devices that reproduce the issue
All devices
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
Expected result
App is not crashed
Actual result
Playback crashes with the following stack trace:
Media
Not applicable
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.