Example 3 - Duration-less stream with a pre-roll duration set in VAST

This example illustrates how to instruct OVA to ignore the stream duration metadata and always use the value from the VAST response.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Duration-less stream with a pre-roll duration set in VAST
   </ova.title>
   <ova.json>
       {
            "debug": {
                "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
            },

            "ads": {
                "setDurationFromMetaData": false,
                "servers": [
                    {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                    }
                ],
                "schedule": [
                    {
                      "zone": "5",
                      "position": "pre-roll"
                    }
                ]
            }
       }
   </ova.json>
</config>