Is it possible to add failoverServers?

Topics: Windows 8 Xaml
Sep 27, 2013 at 12:52 PM

I wonder if it is possible to add failoverServers, which can be added eg to a PrerollAdvertisment and will be called when Load/Play of the primary one fails?
Is this already implemented? If yes, can someone tell me how to achieve this in XAML/C# ?

Sadly I was not able to find something about this on the web.

Sep 30, 2013 at 7:09 PM
One approach would be to create your own IResovableAdSource implementation and assign it to PreRollAdvertisement.Source. Your custom implementation could then try to retrieve the VAST file and if it fails, it would go fetch a different one. You can easily create your custom implementation by copying the default implementation here into your project and modifying it.

Hopefully this helps, Tim