This example illustrates how to define a new provider and optionally a streamer for that provider. In this example, the streaming URL for a new HTTP pseudo-streaming provider is defined.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 13 - Specifying new providers and streamers
</ova.title>
<ova.json>
{
"shows": {
"providers": {
"http": {
"type":"http",
"streamer":"__file-address__?start=__start-time__[&end=__duration__]"
}
},
"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": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
</ova.json>
</config>