Example 01 - 1 stream with a pre-roll

1 stream + 1 pre-roll = 2 streams

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       1 stream with a pre-roll
   </ova.title>
   <ova.json>
       {
           "shows": {
              "baseURL": "http://streaming.openvideoads.org/shows",
              "streams": [
                   { "file":"the-black-hole.mp4" }
              ]
           },

           "ads": {
              "servers": [
                  {
                    "type": "OpenX",
                    "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
                    "allowAdRepetition": true
                  }
              ],
              "schedule": [
                  {
                    "zone": "19",
                    "position": "pre-roll"
                  }
              ]
           },

           "debug": {
              "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
           }
       }
   </ova.json>
</config>