I think what needs to be done is to add stream buffer.
See if the code below will improve sound quality.
Of course it will add 1 second delay, I believe default buffer is 0.3 sec.
Alex
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//the following are the code changes related to subscriber//
// setup stream
// XXX: odd hack needed for flashIDE.
var conn = evtObj.connection;
var x = new Stream(conn);
streamS = x;
//the following are the code changes related to subscriber//
// setup stream
// XXX: odd hack needed for flashIDE.
var conn = evtObj.connection;
var x = new Stream(conn);
streamS = x;
streamS.setBufferTime(1);
streamS.play ("red5StreamDemo", -1);
publish_video.attachVideo(streamS);
streamS.play ("red5StreamDemo", -1);
publish_video.attachVideo(streamS);
On 11/7/06, sabyasachi kole <[EMAIL PROTECTED]> wrote:
Hi,
Thanks John for replying.
But it works fine when I tested in my own machine.
But the problem starts when I tested it with a machine, connected with LAN.
Previously when I tested with the original Broadcaster.swf & Subscriber.swf with the same machines, it worked fine. Ofcourse that required two instances of Internet Explorer at each machine. But my immediate aim is to build an application, which requires only one instance of Internet application, running on each machines connected with the Red5 server.
-Sabyasachi
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
