Question
how to reduce video / audio delay
Hello friends,
I have developed a audio/video chatroom application using Flash 8 and Red5 server.
Application works fine for text chat only but take lots of time, when some one is publishing audio and video to others, they receive the published audio/video after a bad delay.
i m using following client side code:-
for publishing video stream:-
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://domain/folder_name")
var out_netstream:NetStream = new NetStream(nc);
mycam = Camera.get();
mycam.setQuality(0, 80);
mycam.setMode(320, 240,15);
out_netstream.attachVideo(mycam);
out_netstream.publish("videotest", "record");
for playing video stream:-
var in_netstream = new NetStream(nc);
in_netstream.play("videotest");
rcv_video.attachVideo(in_netstream); //here rcv_video is video object
please help me on this issue its very urgent
thnaks in advance
I have developed a audio/video chatroom application using Flash 8 and Red5 server.
Application works fine for text chat only but take lots of time, when some one is publishing audio and video to others, they receive the published audio/video after a bad delay.
i m using following client side code:-
for publishing video stream:-
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://domain/folder_name")
var out_netstream:NetStream = new NetStream(nc);
mycam = Camera.get();
mycam.setQuality(0, 80);
mycam.setMode(320, 240,15);
out_netstream.attachVideo(mycam);
out_netstream.publish("videotest", "record");
for playing video stream:-
var in_netstream = new NetStream(nc);
in_netstream.play("videotest");
rcv_video.attachVideo(in_netstream); //here rcv_video is video object
please help me on this issue its very urgent
thnaks in advance