Example 4 - Delivering Overlays over a Live Stream

The configuration for this example is:


flowplayer("a.example", "", {
	clip: {
		url: "livestream",
		provider: "rtmp",
		live: true,
		duration: 60
	},

    plugins: {
        rtmp: {
            url: "",
            netConnectionUrl: "rtmp://server/live"
        },

        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "ads": {
              "servers": [
	              {
	                "type": "OpenX",
	                "apiAddress": "",
	 	            "allowAdRepetition": true
	              }
              ],
              "schedule": [
                  {
                      "zone": "30",
                      "position": "center:auto",
                      "startTime": "00:00:02",
                      "duration": 10,
                      "width": 450,
                      "height": 50
                  },
                  {
                      "zone": "41",
                      "position": "center:auto",
                      "startTime": "00:00:15",
                      "duration": 10,
                      "width": 450,
                      "height": 50
                  }
              ]
            },

            "debug": {
              "levels": ""
            }
        }
    }
});