Client-Side Communication ActionScript > Camera.bandwidth |
Camera.bandwidth
Availability
Flash Player 6. |
|
Flash Communication Server MX (not required). |
Usage
activeCamera.bandwidth
Description
Read-only property; an integer that specifies the maximum amount of bandwidth the current outgoing video feed can use, in bytes. A value of 0 means that Flash video can use as much bandwidth as needed to maintain the desired frame quality.
To set this property, use Camera.setQuality.
Example
The following example loads another movie if the camera's bandwidth is 32 kilobytes or greater.
if(myCam.bandwidth >= 32768){
loadMovie("splat.swf",_root.hiddenvar);
}
See also