[Flash] Media File Priority Question

178 views
Skip to first unread message

Joshua Andrassy

unread,
Dec 28, 2015, 10:12:26 AM12/28/15
to Interactive Media Ads SDK
I was forwarded some information about poor playback of an ad on Flash, and the assumption that the ad being played was probably too high of a bitrate.  For Flash, we don't do much with the AdsRenderingSettings and am simply looking for a bit more information as to how the SDK prioritizes certain mimeTypes.

As part of the information I was given about this particular ad, I was provided with its list of media files from the ad response.  It seems like there is a decent variety of files here ranging in bitrate, but I did notice the lone VPAID ad and its hefty resolution.  Is it a fair assumption that the SDK likely prioritized the VPAID ad here?

 <MediaFiles>
       <MediaFile delivery="progressive" width="1920" height="1080" type="application/x-shockwave-flash" apiFramework="VPAID"><![CDATA[https://imasdk.googleapis.com/flash/sdkloader/vpaid2video.swf?adTagUrl=embedded&embedAdsResponse=1]]></MediaFile>
       <MediaFile delivery="progressive" width="1920" height="1080" type="video/quicktime" bitrate="18062" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/15/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594938947/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/432B0E7F99EFA9F4007FE51310F95A3104F7E6AE.1132290DE77DBC86C2C36D6A9979E7B2B0E429A6/key/ck2/file/file.mov]]></MediaFile>
       <MediaFile delivery="progressive" width="426" height="240" type="video/x-flv" bitrate="257" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/5/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594938995/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/1EC9FE9C7F8FBE3BC6D68C4DB9FCE8C6A9FD2E21.70EC18CB71B93F018517420BBD1B837590C190BB/key/ck2/file/file.flv]]></MediaFile>
       <MediaFile delivery="progressive" width="640" height="360" type="video/x-flv" bitrate="787" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/6/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939005/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/906F32AFFDC7A0A93FDDE4A717626CBDE687BFE5.805D62932FB0803C9459A1EAF5307CC15860EBFF/key/ck2/file/file.flv]]></MediaFile>
       <MediaFile delivery="progressive" width="640" height="360" type="video/x-flv" bitrate="781" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/34/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939003/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/A300F01760B7EA50F2720710F3536B6B93EF5A17.A05BF07D04AD71A3229B43B97079B158709B123D/key/ck2/file/file.flv]]></MediaFile>
       <MediaFile delivery="progressive" width="854" height="480" type="video/x-flv" bitrate="1125" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/35/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939005/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/3A47984FA9FF32E0788B67B1BD74394243B73BFB.62DFBB515B29BB693E3618EA5D63A0F7B6ED58A5/key/ck2/file/file.flv]]></MediaFile>
       <MediaFile delivery="progressive" width="176" height="144" type="video/3gpp" bitrate="53" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/17/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594938991/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/7F29A411E316AFF82D882ED477B1256724F6A807.3A2860BB345C7F8799F7B023A42EEC5184D8C87F/key/ck2/file/file.3gpp]]></MediaFile>
       <MediaFile delivery="progressive" width="320" height="180" type="video/3gpp" bitrate="186" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/36/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594938998/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/1FEEBE0792778C7882ED37BA5622E12751847EA8.60B06A24D3209A73F8B059FA23601929643D8036/key/ck2/file/file.3gpp]]></MediaFile>
       <MediaFile delivery="progressive" width="640" height="360" type="video/mp4" bitrate="625" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/18/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939019/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/B3FED1AC124B261743DBC9B5E6A4C07EF54A7C05.515B28F069C179B9708C76CE5C2E92E2D8B64369/key/ck2/file/file.mp4]]></MediaFile>
       <MediaFile delivery="progressive" width="1280" height="720" type="video/mp4" bitrate="2930" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/22/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939085/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/26B7D06E4AB46736F8A843DB20EB9F224D7F3565.3B4935A89225F683447D27C874E934D323151249/key/ck2/file/file.mp4]]></MediaFile>
       <MediaFile delivery="progressive" width="1920" height="1080" type="video/mp4" bitrate="5857" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/37/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939129/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/A6B6B762AE350AA048969C715D7FD55257A961AF.9A711E2FE543250AB3E56A7FE2416B1B43E757B6/key/ck2/file/file.mp4]]></MediaFile>
       <MediaFile delivery="progressive" width="854" height="480" type="video/mp4" bitrate="1125" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/59/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939062/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/28AF8B1BB1FC363C6C80849EA92F104282EEF2F3.7BC51D1A80B8FF4061B1AF1E9DE56BDA1D31D727/key/ck2/file/file.mp4]]></MediaFile>
       <MediaFile delivery="progressive" width="1920" height="1080" type="video/mp4" bitrate="19543" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/309/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939169/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/8BEE739331E32BCC83505C1D5F4DB205D151FB77.18B20AAFDC9B9D4A29CCB9670EBC8F5673F89895/key/ck2/file/file.mp4]]></MediaFile>
       <MediaFile delivery="progressive" width="640" height="360" type="video/webm" bitrate="652" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/43/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939063/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/88D4EE58256C55C5FF3FD797AB09590565F30ED7.A1596BABAEB7FAD2AE9D634BE2615BC020F4AEE0/key/ck2/file/file.webm]]></MediaFile>
       <MediaFile delivery="progressive" width="854" height="480" type="video/webm" bitrate="985" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/44/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939087/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/B80EAACECA123ECC6D7EE03ADAE2D57DE5A57874.54CAED8661A66BB2C332ECCC2A86F7F0BE83A72D/key/ck2/file/file.webm]]></MediaFile>
       <MediaFile delivery="progressive" width="1280" height="720" type="video/webm" bitrate="2759" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/45/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939151/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/BC0FAEE3954B206D575FB1B6B6EA5C55CB7F8EB2.A9220953EE65BA7A976A56BE1A7FB2F3BA7DCF30/key/ck2/file/file.webm]]></MediaFile>
       <MediaFile delivery="progressive" width="1920" height="1080" type="video/webm" bitrate="6135" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/videoplayback/id/c639ad4d53db6b61/itag/46/source/doubleclick_dmm/ratebypass/yes/ip/0.0.0.0/ipbits/0/expire/3594939343/sparams/id,itag,source,ratebypass,ip,ipbits,expire/signature/7ECB9A82257BE17A7471C1AE7E085FBED3940F22.627F3A4A96AFFF5382835318E2D25E03DCBE6DDB/key/ck2/file/file.webm]]></MediaFile>
       <MediaFile delivery="progressive" width="256" height="144" type="application/x-mpegURL" bitrate="104" scalable="false" maintainAspectRatio="false"><![CDATA[https://gcdn.2mdn.net/api/manifest/hls_variant/source/doubleclick_dmm/id/c639ad4d53db6b61/itag/0/playlist_type/LIVE/ip/0.0.0.0/ipbits/0/expire/3594939041/sparams/ip,ipbits,expire,source,id,itag,playlist_type/signature/924E0B4D1BC67C2E88FDD9DA82F8B37888EBA3D5.B0B59BD6027FFE4DD6C19A984F612AB1137AC8ED/key/ck2/file/index.m3u8]]></MediaFile>
      </MediaFiles>

Tyler Sidell (IMA SDK Team)

unread,
Dec 28, 2015, 4:38:28 PM12/28/15
to Interactive Media Ads SDK
Hi,

To get started, the best way to view which media file is getting returned is to use Charles proxy to capture the network traffic.  You'll be able to see the VAST response that gets returned and the media file that was requested.  

The SDK prioritizes based on platform so for instance, the SDK does pick which media file is able to play on the current platform. If you need to prioritize certain formats manually you can use the AdsRenderingSettings.MimeTypes API method to prioritize certain formats. If you are experiencing issues with bitrate, you can also look at setting a max bitrate. If you set the max bitrate, the SDK will select a media file which has a bitrate below the specified max or the closest bitrate if there is no media with a lower bitrate found.

Thanks,
Tyler Sidell
IMA SDK Team  

Gaurav Bora

unread,
Feb 28, 2017, 6:19:20 AM2/28/17
to Interactive Media Ads SDK
Hi @Tyler Sidell,

I used the above sample File and to my surprise on my VAST video player the optional <AdParameters> tag is not supported in the above ad. It is also not supported on many players and thus wanted to know if there is any alternative approach for sending custom string to VPAID SDK.

Please help me out on this issue.

-
Thanks

Chris Feldman (IMA SDK Team)

unread,
Feb 28, 2017, 10:50:51 AM2/28/17
to Interactive Media Ads SDK
Hi Guarav,

I'm not sure I follow what you are trying to do. What sample file were you using? The "<MediaFile>..." text from above is not a complete ad tag. Can you link me the actual tag that you're using?

I'd also like to ask that you open a new thread for this issue. That way it will have an appropriate title and will be easier to find via search for other users.

Regards,
Chris Feldman
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages