-
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
IMA crashing when using wrong IMA Ad Uri config #7494
Comments
Thanks for the report. Would it be acceptable if we just skip all ads in this case? If not what would be the desired behavior? |
Yes, I think it would be OK to skip. Thanks. |
After 5a88e0b we should avoid crashing on assertion failure (instead we will discard remaining ads). Aside: when testing using the provided ad tag, I didn't see problems with misconfigured timestamps for midrolls but instead I saw what looks like the issue reported in #7477: we first get an ad count of 3 ads, then this changes to 7 ads in the pod when the next ad in the pod loads:
@fpittersacc Do you have any ideas why the ad count is updating like that? |
Thanks, for checking. I think the IMA Ad Uri has been changed and not providing the invalid Ad sequence anymore, and giving the sequence we were facing in #7477 Let me recheck using 2.11.6. |
We don't have the invalid Ad setup available anymore. Thanks for reviewing it. |
[REQUIRED] Issue description
We were getting an invalid Ads configuration, with prerolls coming on seconds 1, 2, 3.
This is behaving differently on 2.11.3 and 2.11.5.
2.11.3: Playback is stuck after preroll.
2.11.5: App crashes after preroll.
We know this issue is just an edge case caused by a misconfiguration on the AdManager, but maybe the crash could be avoided.
[REQUIRED] Reproduction steps
Expected: Content is resumed.
Actual: Crashing after Preroll.
[REQUIRED] Link to test content
https://pubads.g.doubleclick.net/gampad/ads?env=vp&gdfp_req=1&unviewed_position_start=1&output=vast&iu=/5374/TV2video/avod/programmer/underholdning/love-island-uk/sesong-5&sz=640x480&description_url=https://www.tv2.no/v/1463716&hl=no&cmsid=2510181&vid=1463716
[REQUIRED] A full bug report captured from the device
The exception is raised in ImaAdsLoader due to invalid AdState when receiving
stopAd
from IMASDK.bugreport-nexus5-Android6-2020-06-12.txt
bugreport-whyred-PKQ1.180904.001-2020-06-12-13-19-54.zip
[REQUIRED] Version of ExoPlayer being used
2.11.3 & 2.11.5
[REQUIRED] Device(s) and version(s) of Android being used
All. It doesn't seem to be affected by any Android version or device.
The text was updated successfully, but these errors were encountered: