How not to wait 8 seconds if ad failed to load/play?

147 views
Skip to first unread message

Nick Syedin

unread,
May 19, 2020, 4:44:14 AM5/19/20
to Interactive Media Ads SDK
For example, if I play this vast:
First ad contains distracted file. I have to wait 8 seconds while second ad is able to load. But I know in advance that error was occurred for the first ad. Is there any solution to skip this ugly timeout? AdsRenderingSettings.setLoadVideoTimeout doesnt work for any value and seems to be an empty method.

Thanks for help

Nick Syedin

unread,
May 19, 2020, 4:48:25 AM5/19/20
to Interactive Media Ads SDK
Forgot to say I use ima sdk 3.18.1 for Android

вторник, 19 мая 2020 г., 11:44:14 UTC+3 пользователь Nick Syedin написал:

IMA SDK

unread,
May 19, 2020, 2:32:02 PM5/19/20
to nsy...@gmail.com, ima...@googlegroups.com
Hi Nick,

Thank you for reaching out to us. The default 8 seconds videoLoadTimeout ensures that your video is displayed if it needs more time than the average ads to load. Without this feature, some video ads wouldn't be loaded at all.
The timeout isn't causing your ad playback to get delayed, your first video ad apparently needs more time to load and forces the SDK to wait for 8 seconds before initiating the second video ad playback. If your first video ad loads fast, you won't notice any delay at all, videoLoadTimeout is a feature of the SDK not a bug.

Regards,
Arnaud Casame
IMA SDK Team


ref:_00D1U1174p._5004Q1zqGGW:ref

Nick Syedin

unread,
May 20, 2020, 2:35:45 AM5/20/20
to Interactive Media Ads SDK
I think it's definitely a bug, not a feature. First media file in my vast example is destructed, without format header. It loads fast, but video player unable to play it. I know it within 1-2 seconds, but have no way to terminate waiting. It's a kind of unconditional waiting I think. And first bug(not a feature) is that setLoadVideoTimeout does nothing. If it's feature I don't know that a bug is.

вторник, 19 мая 2020 г., 21:32:02 UTC+3 пользователь imasdkforumadvisor написал:

IMA SDK

unread,
May 20, 2020, 4:43:28 AM5/20/20
to nsy...@gmail.com, ima...@googlegroups.com

Hi Nick,

Thank you for your response.

I tested the VAST xml that you shared against our advanced sample app with SDK version 3.18.1, however, I wasn't able to reproduce the vast load time for 8 seconds that you're encountering, but instead a LOG event keeps firing for the first ad, which is intended as this indicates an ad in a pod cannot be played, please see attached video recording. Could you please confirm this on your end?

With regard to the setLoadVideoTimeout method, I'm going to share this information with the rest of the team to investigate further and we will get back to you know once we have our findings.

Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5004Q1zqGGW:ref
sampleAppTest_mov.html

Nick Syedin

unread,
May 20, 2020, 6:51:02 AM5/20/20
to Interactive Media Ads SDK
Sherwin, thank you very much for your quick response and attached video file. I looked at AdvancedExample and found that I didn't call onError callback. setLoadVideoTimeout method can only be a point.

среда, 20 мая 2020 г., 11:43:28 UTC+3 пользователь imasdkforumadvisor написал:
Reply all
Reply to author
Forward
0 new messages