Flash Media Server Developer Documentation

Client.checkBandwidth()

clientObject.checkBandwidth() 

Call this method from a client-side script to detect client bandwidth. If the client is connected directly to the origin server, bandwidth detection occurs on the origin. If the client is connected to the origin server through an edge server, bandwidth detection happens at the first edge to which the client connected.

To use this method to detect client bandwidth, you must also define onBWDone() and onBWCheck() methods in a client-side script. For more information, see Detect bandwidth in Adobe Flash Media Server Developer Guide.

Note: If this function is defined in a server-side script, the client call invokes that instead of the checkBandwith() definition in the core server code.

Availability

Flash Media Interactive Server 3 and Flash Media Development Server 3