-
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 Extension behaving weird when backgrounding midrolls with multiple ads #4140
Comments
We've seen issues with IMA unexpectedly skipping ads in a midroll before, so this may be related. |
Is this a priority at the moment? Do you have some sort of idea of when this issue is going to be addressed? |
It's possible the issue was addressed in IMA 3.8.5. It would help speed things up if you try to reproduce this on |
The issue still happens in |
[Internal reference: b/78006594] |
#3764 comment When the user presses the home button (background) during play first ad, the player automatically paused, user screen turned on (foreground), The player shows only the first ad and goes to the content(without play the second ad) Test Ad URL |
The IMA team is now investigating what sounds like the same issue. I'll update this if we get more information. Thanks for your patience. |
@andrewlewis can you share a link to tracking bug for the issue if avilable? |
It's an internal bug but I'll keep this issue updated with anything relevant that comes up. |
A server-side fix for skipped midroll ads was recently rolled out to the IMA JavaScript code, but unfortunately this still seems to be reproducible. I've filed another issue to follow up (internal: b/110400963). |
We also have the issue that our midroll ads stopping before they reache the end. |
@christianb Are you seeing that a midroll is skipped when the player is backgrounded while playing a previous midroll in the same ad group? If not it might be different from this issue, so please file a new issue and include the ad tag and steps to reproduce. |
@andrewlewis We could solve the problem. Was an issue on our side. We removed the Ad view too early. That made the Ad breaking before the end. Now everything works fine :) |
This is still reproducible with IMA SDK 3.9.4 including in the official IMA sample app, and I think the same issue is occurring with @na-in-lee's ad tag above. I'll post an update here when we have more information about what is going on. [Internal: b/110400963] |
Note: this is still reproducible using IMA SDK 3.10.2. |
This comment has been minimized.
This comment has been minimized.
Just a quick update: the likely root cause of this has been identified but fixing it is probably going to need to wait until some structural improvements to how preloading works in the IMA SDK have been completed. |
I've verified this is fixed by migrating to the new IMA SDK preloading APIs (fa7d26d), and that change should be in a release soon. |
I noticed some weird behavior in the streams that have multiple sequential ads in the midroll (those sample tags with
mid-roll standard/optimized pod with 3 ads
for example).When I minimize the demo app right when the midroll starts playing and then put the app back in foreground the player doesn't seem to recover correctly.
Sometimes it waits for midroll 1/3 to finish, then skips 2/3 and go straight to 3/3 and stop showing the label that should read
Ad 3 of 3
. Sometimes it freezes on midroll 3/3 and never resumes. When the midroll finishes the content video resumes playback but you can never see the playback control bar again when you click the screen.I seem to be getting a random combination of the possibilities above each time I try it.
I was testing this because we received reports that similar issues happened in our app when pressing
Skip Ad
in a midroll that has multiple ads. It is very hard to find adtags with skippable midrolls, though, so I'm having issues reproducing it. Do you think it could be the same issue?Reproduction steps
Use the demo app, version 2.7.3.
Go to
IMA Sample ad tags
and pickVMAP pre-roll single ad, mid-roll standard pod with 3 ads, post-roll single ad
(can be any adtag that hasmid-roll pod with 3 ads
).Wait for the preroll to finish.
Skip to somewhere around the middle of the video (any part that's after the midroll yellow mark).
As soon as midroll 1/3 starts playing press home to minimize the app.
Open the app again and wait for the playback to resume.
Device(s) and version(s) of Android being used
I tested on Android Emulators with android api level 24 and P.
The text was updated successfully, but these errors were encountered: