Your Digital Media Has Never Looked So Good

Topic Author
Posts: 1
Joined: Wed Oct 10, 2018 8:06 am

Ads timeout

Wed Nov 14, 2018 4:38 am


We are using Roku ads framework to render the ads. but sometimes server takes time to respond in pre load ads. so we need to set time out for ads like if server does not respond in certain seconds than skip that ad and move forward to playing the video. I was checking the Roku doc but didn't find any function regarding this. I have enabled enableJITPods which helped me but still we are sometimes having the same issue while server respond a bit late so is there any way I can add timeout to the RAF.getAds() please?
User avatar
Posts: 465
Joined: Fri Mar 31, 2017 2:22 pm

Re: Ads timeout

Fri Nov 16, 2018 4:21 pm

Not sure if you are asking about fetching the ad info (VAST/VMAP/SMRX) or playing the ad videos.

When playing, there are some preset limits already to make sure ad does not take longer to buffer than actual play time.

When fetching ad data, there is a timeout for each individual request, 5 seconds or so.
If there are multiple ads returned, this may still take long time. JiT fetching of ads is meant to help by deferring fetching of wrapped ads to later when content is playing.

Who is online

Users browsing this forum: No registered users and 10 guests