Example 1 - Empty VAST Response with Autostart

This example tests what happens when an empty VAST template is returned. The ad schedule should be skipped and the main stream(s) played.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - Empty VAST Response with Autostart
   </ova.title>
   <ova.json>
       {
            "debug": {
              "debugger": "firebug",
              "levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
            },

            "shows": {
                "baseURL": "http://streaming.openvideoads.org/shows",
                "streams": [
                    { "file":"the-black-hole.mp4", "duration":"00:01:00" },
                    { "file":"the-black-hole.mp4", "duration":"00:01:00" }
                ]
            },

            "ads": {
                "servers": [
                    {
                       "type": "direct",
                       "apiAddress": "../../../dist/templates/error-responses/vast1.0/blank-vast-response.xml"
                    }
                ],

              "schedule": [
                  {
                      "zone": "5",
                      "position": "pre-roll",
                      "applyToParts": [ 0 ]
                  },
                  {
                      "zone": "5",
                      "position": "post-roll"
                  }
              ]
           }
       }
   </ova.json>
</config>