We are using IMA SDK plugin version 3.11.2 and trying to override the default values of vast and media timeout to 16s. However in the IMA SDK log, we see that its still set to 8secs
11-03 12:42:45.911 31126 31126 I SDK_LOG:ima.loader.AdsLoaderImpl: requestAds, processing internal request.
11-03 12:42:45.915 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Enqueued new request.
11-03 12:42:45.921 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Starting request from queue.
11-03 12:42:46.170 31126 31126 I SDK_LOG:ima.loader.AdSourceFactory: Creating WaterfallAdSource.
11-03 12:42:46.202 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
11-03 12:42:46.272 31126 31126 I SDK_LOG:VastAdSource: getNextAd, this.currentAdSource: null
11-03 12:42:46.273 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
11-03 12:42:46.274 31126 31126 I SDK_LOG:VastAdSource: processNextAd_, currentAdIndex: 0, ads.length: 1
11-03 12:42:46.274 31126 31126 I SDK_LOG:VastAdSource: Setting fallback index to session context: 0
11-03 12:42:46.275 31126 31126 I SDK_LOG:VastAdSource: processInlineAd, successCallback with 1 ads
11-03 12:42:46.276 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: 0 , this.numAdsSent: 1
11-03 12:42:46.280 31126 31126 I SDK_LOG:ima.loader.AdsLoaderImpl: dispatchAdsLoadedSdkEvent_, ads.length: 1
11-03 12:42:46.306 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Ad #0 loaded for ad break time: 0
11-03 12:42:46.308 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Requesting next ad for time: 0
11-03 12:42:46.309 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Playing next item and waiting for time:0.
11-03 12:42:46.312 31126 31126 I SDK_LOG:ima.managers.AdsManagerFactory: createAdsManagerFromAds_, adType: video
11-03 12:42:46.328 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Starting request from queue.
11-03 12:42:46.450 31126 31126 I SDK_LOG:UrlReporter: Reporting urls for event : show_ad
11-03 12:42:54.270 31126 31126 I SDK_LOG:ima.vast.VideoAdEventTracker: dispatching event mediaLoadTimeout
11-03 12:42:54.346 31126 31126 I SDK_LOG:ima.managers.VastVideoAdsManager: Playback error: [object Object] AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.347 31126 31126 I SDK_LOG:UrlReporter: Reporting urls for event : error
11-03 12:42:54.350 31126 31126 W SDK_LOG:ima.common.ErrorUtils: Error play dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.356 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Ad play error for playTime:0, error: AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.360 31126 31126 W SDK_LOG:ima.common.ErrorUtils: Error log dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.
adsRenderingSettings.setLoadVideoTimeout(16000);
request.setVastLoadTimeout(16000);
Can you please let us know the following:
1. How to set the timeout values correctly to increase video and vast load timeouts?
2. How to avoid 402 error during ad load? We see a lot of Ad buffering calls before 402 error is reported in AdError function.
Thanks in advance !