Hi there,
1. Use advanced sample of IMA android sdk and put the sample tag in app.
2. During ad playback like 1st ad's 0:00 means last second, put the app in background.
3. Wait for 2-3 secnds, now app in foreground, you could see that the 2nd ad or together 2/3 ads have been skipped.
In my app Scenario -1 (Frequency 2/5)
1. Use advanced sample of IMA android sdk and put the sample tag in app.
2. During content playback, seek to the end.
3. Observe that the Mid-roll and Post roll fails to play.
In my app Scenario -2 (Frequency 4/5)
1. During ad playback like 1st ad's 0:00 means last second, put the app in background.
2. Wait for 2-3 secnds, now app in foreground, you could see that the 2nd ad or together 2/3 ads have been skipped.
My app Logs:
I/SDK_LOG:ima.managers.VastVideoAdsManager: Playback error: [object Object] AdError 400: There was an error playing the video ad.
W/SDK_LOG:ima.common.ErrorUtils: Error play dispatched: AdError 400: There was an error playing the video ad.
I/SDK_LOG:ima.adslist.AdBreak: Ad play error for playTime:100, error: AdError 400: There was an error playing the video ad.
My app logs-
I/SDK_LOG:ima.vast.VideoAdEventTracker: dispatching event mediaLoadTimeout
I/SDK_LOG:ima.managers.VastVideoAdsManager: Playback error: [object Object] AdError 402: VAST media file loading reached a timeout of 8 seconds.
W/SDK_LOG:ima.common.ErrorUtils: Error play dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.
I/SDK_LOG:ima.adslist.AdBreak: Ad play error for playTime:15, error: AdError 402: VAST media file loading reached a timeout of 8 seconds.
I/SDK_LOG:ima.adslist.AdBreak: Playing next item and waiting for time:15.
I/SDK_LOG:ima.adslist.AdBreak: Done playing all ads for time: 15