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?
Are you trying to play recorded mp4 with http. Or you want to subscibe live on http..
You may take this recorded mp4 video, place it inside webroot/vod .. and then fire http://server-name/hds-vod/2800_1330523234.mp4.f4m inside OSMF player.. Let me know if you are able to play..
If you want to subscribe to this live on this published stream, this is not the way ..