Example 13 - Specifying new providers

This example illustrates how to specify a new provider for a particular stream type.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 13 - Specifying new providers
   </ova.title>
   <ova.json>
       {
            "providers": {
          	   "http": "lighttpd",
          	   "rtmp": "rtmp"
            },

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

            "ads": {
                "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                   }
                ],
	            "companions": {
	                "regions": [
   	                   { "id":"companion", "width":"150", "height":"360" }
	                ]
	            },
                "schedule": [
                    {
                        "zone": "28",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:05",
                        "duration": "10"
                    },
                    {
                        "zone": "41",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:20",
                        "duration": "10"
                    }
                ]
            },

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