Example 11 - 2 streams with a mid-roll on the second stream

2 streams with a mid-roll limited to the second stream (5 seconds into the stream) = 3 streams

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       1 stream with a post-roll
   </ova.title>
   <ova.json>
       {
           "shows": {
              "baseURL": "http://streaming.openvideoads.org/shows",
              "streams": [
                   { "file":"the-black-hole.mp4" },
                   { "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": "mid-roll",
                    "startTime": "00:00:05",
                    "applyToParts": [1]
                  }
              ]
           },

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