Live netstream not working, - StreamNotFound - pbm


hi fmshers,

 

i have created live video chat, start work reference.

 

but publish netstream working well, play live netstream trace streamnotfound message. why happened working in local, (sorry english).

 

my code 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 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 1 genious me.....

sorry bump.....

 

i need solution please trying one. let me know if wanna brief...

 

thanks.......



More discussions in Adobe Media Server


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???