Bandwidth check from the Florida Panhandle - Embarq DSL connection: KBDown: 2434 Delta Down: 1918 Delta Time: 0.788 Latency: 84
Regards, Sully --- [EMAIL PROTECTED] wrote: From: Dan Rossi <[EMAIL PROTECTED]> To: Red5 public list <[email protected]> Subject: [Red5] bandwidth checking again Date: Wed, 02 May 2007 22:49:39 +1000 Hi, I was wondering if its possible to help me work out a few things with the bandwidth checker application. It seems I was connecting to my local red5 server instead of the server in NY in the flex app i uploaded. Ive updated it again but connecting via a new load balancer ip setup which will hopefully spread the load properly now rather than wait till one machine is full of connections to goto another machine. http://69.42.91.84:5080/bwcheck/bwcheck.html The problem is i have a 24MB adsl connection, and im only getting these results KBDown: 320 Delta Down: 176 Delta Time: 0.55 Latency: 255 When i was connecting to my electroteque.org server it was 1.5 - 2MB. I need to work out where the problem may be in my code, so I am able to guess the right bitrate to send, ideally i should be able to send our 768K versions which streams perfect, but still only 300K is showing up as my bandwidth. Is there a setting in red5 I can tweak to be able to speed up the connectivity ? Anyway here is my updated flex source to handle the detection callback function, im still trying to work out how to send the right bitrate video from the guessed down rate aswell as select it from a list of available bitrates i send via the player args. public function onBWDone(kBDown:int, deltaDown:String, deltaTime:String, latency:String):void { showPreloadBar("Your Bandwidth: " + kBDown); log.info("Bandwidth " + kBDown); startBW(kBDown); log.info("KBDown: " + kBDown + " Delta Down: " + deltaDown + " Delta Time: " + deltaTime + " Latency: " + latency); } private function startBW(kBDown:int):void { var bitrate:String = "38,180,300,768"; var bitrates:Array = bwTypes.split(/,/); if (kBDown < 100) { bitrate = "38"; } else if (kBDown < 200) { bitrate = "180"; } else if (kBDown < 400) { bitrate = "300"; } else if (kBDown < 600) { bitrate = "512"; } else { bitrate = "768"; } var index:int = bitrates.indexOf(bitrate); bandwidth = bitrates[index] ? bitrates[index].toString() : bitrate; statusBar.statsBitrate.text = bandwidth + " kBDown: " + kBDown.toString(); log.info("Chosen Bandwidth: " + bandwidth); //showPreloadBar("Chosen Bandwidth: " + bandwidth); videoFileName = (isProgressive(serverURL) ? serverURL : "") + path + episodeID + "-" + bandwidth + ".flv"; initConnect(); } Let me know thanks. Dan _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _____________________________________________________________ Designer Data - Email Services _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
