Automatic bandwidth check?

59 views
Skip to first unread message

Wimpie

unread,
Feb 1, 2013, 5:46:51 AM2/1/13
to red5in...@googlegroups.com
If I am correct, Red5 1.0 added an automatic bandwidth check. Does this work out of the box? My onBWDone routine always shows 0 Kbps after connecting to an app.

public function onBWDone(... rest):void { 
var p_bw:Number; 
if (rest.length > 0) p_bw = rest[0]; 
Alert.show("bandwidth = " + p_bw + " Kbps."); 
}  

Kladimir

unread,
May 14, 2013, 4:14:28 AM5/14/13
to red5in...@googlegroups.com
Try this

public function onBWDone(data:Object):void { 
var p_bw:int = data.kbitDown; 
Reply all
Reply to author
Forward
0 new messages