Example 3 (RTMP) - A pre-roll and show stream with an overlay ad


The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 3 (RTMP) - A pre-roll and show stream with an overlay ad
   </ova.title>
   <ova.json>
       {
            "overlays": {
                "regions": [
                   {
                      "id": "bottom",
                      "verticalAlign": "bottom",
                      "horizontalAlign": "center",
                      "backgroundColor": "#000000",
                      "padding": "-10 -10 -10 -10",
                      "width": 450,
                      "height": 50
                   }
                ]
            },

            "ads": {
                "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                    }
                ],

                "schedule": [
                    {
                       "zone": "1",
                       "position": "pre-roll"
                    },
                    {
                       "zone": "37",
                       "position": "bottom",
                       "width": 450,
                       "height": 50,
                       "startTime": "00:00:05",
                       "duration": "15"
                    }
                ]
            },

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