On what basis IMA SDK (Android) selects VAST media file?

328 views
Skip to first unread message

Raihan Abbas

unread,
Oct 15, 2018, 2:59:56 AM10/15/18
to Interactive Media Ads SDK
Hi IMA Team
Can you please share some more information about on what basis IMA SDK for Android selects a bitrate for playing an Ad?
As mentioned here "Default value, -1, means the bitrate will be selected by the SDK.
As per my understanding, IMA SDK will select a VAST media file with the highest bitrate available (if the internet speed is good enough).
Is that correct?

Jeff Blanc

unread,
Oct 15, 2018, 11:32:21 AM10/15/18
to ima...@googlegroups.com
Hey guy i have a roku channel i publish via direct publihser i want to help me monetized it 

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.


--
Ceo & Founder Of Haiti Broadcasting
Technology Expert,Webmaster
Multimedia Technician
+1 954 372 5249 | +509 3342 2222
www.haitibroadcasting.net

ima-sdk-adv...@google.com

unread,
Oct 15, 2018, 11:39:37 AM10/15/18
to ima...@googlegroups.com
Hi Raihan,

Thank you for reaching out to us. The SDK does select the better bitrate based on device network condition. Having said that for the Android SDK you can set a maximum bitrate using setBitrateKbps to set a maximum bitrate. The SDK will pick media with bitrate below the specified max and the platform will play media files that are supported for that particular player. The default value, -1, means the bitrate will be selected by the SDK. However, our built-in bandwidth detection currently only works with Google ad servers.

Regards,
Deepika Uragayala
IMA SDK Team

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.

Raihan Abbas

unread,
Oct 16, 2018, 4:14:09 AM10/16/18
to Interactive Media Ads SDK
Hi Deepika,
It is observed that IMA SDK always selects a media file with the highest bitrate available in spite of low internet connection.
I have tried changing the bandwidth of Network and I have observed that IMA SDK always selects a file with the highest bitrate (which is 3200 Kbit/s in my case) even if the internet speed is too slow.
You can reproduce this issue by following the steps below.

1. Extend Video Load Timout
renderingSettings.setLoadVideoTimeout(500000);
2. Limit internet bandwidth to 1Mbs and check which bitrate file is selected.
3. Increase Internet speed to 10 Mbs and check which bitrate file is selected.
IMA SDK will select the same file in both cases.

If SDK select bitrate based on device network condition than I assume it should behave adaptively and must select lower bitrate file in case of slow internet and vice versa.
Thank you 

ima-sdk-adv...@google.com

unread,
Oct 16, 2018, 2:57:09 PM10/16/18
to ima...@googlegroups.com
Hi Raihan,

Thank you for providing more insights with regards to the issue. Can you share the ad tag that you're seeing this with? I'd like to test for myself to make sure I exactly understand the behavior that you're seeing. You can use the forum's Reply Privately feature if you'd prefer not to share publicly on the forum.

Regards,
Deepika Uragayala
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages