How does the bitmovin player decide which MediaFile to pick from a VAST manifest?

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:

  1. Is there any documentation that describes how the Bitmovin player chooses the ad media file?
  2. Is there anything we can change so that Bitmovin would pick the ad media file we prefer?

Hey,
Thanks for your question. I think this should be working as you expect it out of the box. Do you see this happening on both, Android & iOS?

I’m afraid there’s currently no way to influence this behavior, but I’ll take a closer look.