Using the Native SDK’s, I’m able to supply an ad source that returns a VMAP manifest that contains an AdBreak VAST manifest. The ads load and work great, but the SDK always chooses the mp4 media file provided in the Creative Linear element. We’re supplying the following XML block for the media files (urls redacted):
<MediaFiles>
<MediaFile delivery="progressive" bitrate="700" width="640" height="360" type="video/mp4">
<![CDATA[https://-------/low.mp4]]>
</MediaFile>
<MediaFile delivery="progressive" bitrate="3700" width="1920" height="1080" type="video/mp4">
<![CDATA[https://-------/high.mp4]]>
</MediaFile>
<MediaFile delivery="progressive" bitrate="1300" width="960" height="540" type="video/mp4">
<![CDATA[https://-------/medium.mp4]]>
</MediaFile>
<MediaFile delivery="streaming" width="1920" height="1080" type="application/x-mpegURL">
<![CDATA[https://-------/media.m3u8]]>
</MediaFile>
</MediaFiles>
I was wondering the following:
- Is there any documentation that describes how the Bitmovin player chooses the ad media file?
- Is there anything we can change so that Bitmovin would pick the ad media file we prefer?