inject custom metadata into mp4 live stream so wowza can read it
We are currently sending an mp4 live stream via FMLE to the wowza server and everythings great.
We would like to send some custom metadata in the stream on the fly, I realize FMLE may not be the right tool for this, are there any pointers on how to do this with another tool perhaps ?
We want to use this for dynamic midrolls.
Say a livestream is going on , we want to decide (on the fly) lets play a commercial in 10 seconds. So we want to pass a custom metadata event, saying play ad in 10 seconds. We can write something custom in wowza to grab this from AMFData or something, but the main thing is how do we even send it to wowza in the first place.
You need to listen for that cuepoint, something like:
// set up netstream for the callback on the live stream
nsPlayClientObj:Object = new Object();
nsPlayClientObj.custom1 = function(obj:Object):void
nsPlay.client = nsPlayClientObj;