ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

setting builder.mediaLoadTimeOutInMs = 1000 ms not working. exo version 2.9.1

Open nitinjain12 opened this issue 6 years ago • 8 comments

we are using exo ima extension v2.9.1. we want mediaLoadTimeOutInMs = 1000 ms of preroll. but Ad wait for 8 sec to throw the media timeout error. It increase the latency of the content startup.

          ImaAdsLoader.Builder builder = new ImaAdsLoader.Builder(context);

            if (vastTimeOutInMs != AdData.NOT_SET) {
                builder.setVastLoadTimeoutMs(vastTimeOutInMs);
            }
            if (mediaLoadTimeOutInMs != AdData.NOT_SET) {
                builder.setMediaLoadTimeoutMs(mediaLoadTimeOutInMs);
            }
             builder.setAdEventListener(this);
            adsLoader = builder.buildForAdTag(adTagUri);

nitinjain12 avatar Apr 01 '20 09:04 nitinjain12

I think I've seen this value be ignored by the IMA SDK in the past. I will check again and ask them if they could take a look if needed. Thanks for the report.

andrewlewis avatar Apr 03 '20 09:04 andrewlewis

Thank you @andrewlewis for your reply. It will be really helpful if we get some workaround as well. Adding more info we are using the below IMA SDK version. com.google.ads.interactivemedia.v3:interactivemedia:3.10.9

nitinjain12 avatar Apr 04 '20 23:04 nitinjain12

@andrewlewis Any update on this?

nitinjain12 avatar Apr 09 '20 10:04 nitinjain12

No updates yet. I will update here when we have made progress.

andrewlewis avatar Apr 16 '20 11:04 andrewlewis

ok @andrewlewis Thank you :)

nitinjain12 avatar Apr 17 '20 09:04 nitinjain12

Tracked by [Internal: b/144008313].

andrewlewis avatar Apr 27 '20 07:04 andrewlewis

Update: A fix has been submitted and we should be able to pick this up in the next IMA SDK release (not sure when that will be yet).

andrewlewis avatar Jun 26 '20 07:06 andrewlewis

Thank you @andrewlewis for your support.

nitinjain12 avatar Jun 26 '20 08:06 nitinjain12