Hi,
I implemented this SDK on android and ran into an issue with older devices.
The selection of appropriate bitrate & format does not seem to work and cause some devices to load 1080p webm version when a lower resolution mp4 version would be more appropriate. At a glance it would seem that the last MediaFile URL listed in the VAST response is the one used.
I am trying to limit mime types and bitrate by passing a AdsRenderingSettings object to the AdsManager init call but that appears to be ignored. Is this a known issue or am I doing something wrong?
@Override
public void onAdsManagerLoaded(AdsManagerLoadedEvent event) {
String[] mimeType = {"video/mp4"};
adsManager = event.getAdsManager();
adsManager.addAdErrorListener(this);
adsManager.addAdEventListener(this);
AdsRenderingSettings settings = ImaSdkFactory.getInstance().createAdsRenderingSettings();
settings.setMimeTypes(Arrays.asList(mimeType));
settings.setBitrateKbps(1000);
adsManager.init(settings);
}
Thank you,
Felix