{
adData = {
};
logData = {
errorCode = 402;
errorMessage = "VAST media file loading reached a timeout of 8 seconds.";
type = adPlayError;
};
}
However as I say, the playback started playing without issue.
I'm using Google IMA SDK for iOS v3.10.1
loadVideoTimeout
is set too low in the IMA SDK. The default is 8 seconds.The issue may come from the ad server where its response time is slow enough to cause the ad player to not receive first video frame before the 8 seconds timeout required by the SDK.
Hi Sergio,
This is Sherwin and I'll be assisting you with your concern, as Arnaud is currently out of the office.
I've checked the video file that you have shared. However, it's not clear if the app crashes at the last part of the video. With this, could you confirm if the issue is only occurring to the IMA SDK for iOS Basic sample app and not with the Advance example?
Also, would you be able to provide a stack trace or error log that you've encountered while testing? Please do share with us, so we can investigate further.
Regards,
Sherwin Diesta
IMA SDK Team
Hi Sergio,
Thanks for your response and for your confirmation. Let me share this information with my teammates for further investigation, and I'll get back to you as soon as I have more information.
Regards,
Sherwin Diesta
IMA SDK Team
I have encountered this issue under the same conditions on the iPhone/iPad.
1. AirPlay Enabled: When the VMAP ad finishes playback, an event error with errorCode = 402 appears. Otherwise, ad playback works well.
2. Demo “AdvancedSample”: The same issue occurs.
2.1 I changed some IMAAdsRequest API calls to use contentPlayhead (with the main video using the BitmovinPlayer SDK for playback) instead of using *** avPlayerVideoDisplay, pictureInPictureProxy ***.”
contenPlayhead:
let request: IMAAdsRequest = IMAAdsRequest(
adTagUrl: adTagUrl, adDisplayContainer: createAdDisplayContainer(),
contentPlayhead: playhead, userContext: nil)
Hi,
Thank you for getting back to us.
I will check with our team regarding your issue and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
IMA SDK Team |