This example illustrates how OVA deals with linear ad streams that have a duration that is different to the value in the VAST response. In this case, the VAST response is returning a value of 10 seconds for the ad but it's actually 30 seconds long. OVA detects that there is a difference and automatically re-adjusts the timings to the correct values. The automatic correction can be turned off by setting the "setDurationFromMetaData" config value to "false". It is "true" by default for ads.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 2 - A duration-less stream with a pre-roll with an incorrect VAST duration
</ova.title>
<ova.json>
{
"debug": {
"debugger": "firebug",
"levels": "OVA_DEBUG"
},
"ads": {
"pauseOnClickThrough": true,
"setDurationFromMetaData": true,
"servers": [
{
"type": "OpenX",
"apiAddress": "OVA_OPENX_API"
}
],
"schedule": [
{
"zone": "46",
"position": "pre-roll"
}
]
}
}
</ova.json>
</config>