FMIS 4.5 / publish mp4 file
Hello,
Finally i have success install my FMIS but http not work but i use rtmp its ok for me.
I test with my flash cs5.5 i can publish but i think the codes or something is wrong.
Because i have copy my file to my pc and attempt to listen bad codec.
And i cannot in flash listen with flvplayback.
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, nc_netStatusHandler);
nc.client = this;
nc.connect("rtmp://xx.xx.xx.107:1935/test");
publish_stream();
function publish_stream(){
ns = new NetStream(nc);
ns.attachAudio(mic);
ns.attachCamera(webcam);
//On publish le stream
var now:Date = new Date();
fileName = now.valueOf().toString();
fileName = "mp4:" + nid + "_" + fileName + ".mp4";
ns.addEventListener(NetStatusEvent.NET_STATUS, recordStart);
ns.publish(fileName, "record");
}
the filename is for example: mp4:2800_1330525211890.mp4
then i cannot listen my record directly in my pc
and cannot listen in as3 with this code:
flvPlayBack.source = "rtmp://xx.xx.xx.107:1935/test/" + fileName;
flvPlayBack.play();
i thinks that i have a problem during record
can you help me with this?
