[Red5] how to reduce video / audio delay
sapna suryavanshi
saps_4uever at yahoo.co.in
Fri Apr 4 05:53:58 PST 2008
Hello,
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 and messages 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
thnaks in advance
---------------------------------
Unlimited freedom, unlimited storage. Get it now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080404/a243cd17/attachment.html
More information about the Red5
mailing list