Archiving live stream at FMS and injecting metadata: VP6 good h264 not
When I record a live stream at FMS, one in which I've injected metadata in my main.asc file, the archived file plays back fine. The metadata plays back too. I'm able to retreive it just fine - if I encode VP6.
If I encode h.264 the file plays back but the metadata does not. The fact that the archived file is created and plays back tells me things are wired correctly. The only thing I changed is the format.
According to FMS docs (http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7e42.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7f35)
..."The recording format is determined by the filename you pass to the Stream.get()
method."
So my record code looks like the following:
application.onPublish = function(client, stream) {
trace("onPublish");
s = Stream.get("mp4:streamname.f4v");
if(s){
s.record();
}
this.doRepublish(this.nc, stream);
}
My code that injects the data in to the stream looks like this:
Client.prototype.sendDataEvent = function(data) {
trace("Call to sendDataEvent...");
this.newStream = Stream.get("mp4:streamname.f4v");
this.newStream.send("onTextData",data);
}
All must be wired correctly because the metadata comes through during the live stream. On play back of the archive though, the metadata doesn't appear to be there.
Any thoughts?
Thanks
