URL:
/config/:uri
{
"mediaGen": {
"vmap": {
// The stream url to play.
"uri": "http://streamurl.com",
// The duration of the stream (including ads, of course).
"totalDuration": 232.067,
// trackers to fire.
"trackers": [],
// metadata about the ads.
"adBreaks": []
}
}
}
Tracker Object
{
// The ID of the ad break the tracker is associated with.
"breakId": "0",
// The event name, not used for time related trackers.
"event": "firstQuartile",
// the tracker url
"url": "http://140cc.v.fwmrm.net/ad/l/1?s=b121&n=82125%3B82125&t=1392409723793873010&metr=7&ct=1&et=i&cn=firstQuartile",
// the time to fire the tracker
"timeToFire": 1
}
Pre/mid/post rolls
{
// the type of ad break
"type": "preroll",
// the id of the ad break
"breakId": "0",
// the start of the ad break
"startTime": 0,
// the end time of the ad break
"endTime": 5,
// ignore..
"timeOffset": "start",
// the duration of the ad break
"duration": 5
}
Thoughts: