Live netstream not working, - StreamNotFound - pbm
Hi fmshers,
I have created a live video chat, So I just start my work with this reference.
But my publish netstream working well, But play the live netstream trace the streamnotfound message. why this happened But working good in local, (Sorry for my english).
My code is here,
mycam = Camera.get();
mycam_audio = Microphone.get();
mycam.setMode(320,240,30);
mycam.setQuality(132845,0);
cam_feed.attachVideo(mycam);
cam_feed.attachAudio(mycam_audio);
client_nc = new NetConnection();
client_nc.connect("rtmp:/simplechat");//Just try with ur FMS account
cam_ns = new NetStream(client_nc);
cam_ns.attachVideo(mycam);
cam_ns.attachAudio(mycam_audio);
live_feed.attachVideo(in_ns);
live_feed.attachAudio(in_ns);
cam_ns.publish("user_1","live");
//in_ns.play("user_1","live");
in_ns.onStatus = function(info) {
trace("Status="+this.status+this+info.code);
};
in_ns = new NetStream(_root.client_nc);
in_ns.play("user_1","live");
this.onEnterFrame = function() {
ss.text = in_ns.currentFps;
dd.text = cam_ns.currentFps;
};
Hope you one genious help me.....
