
22
Camera.quality
Availability
• Flash Player 6.
• Flash Communication Server MX (not required).
Usage
activeCamera.quality
Description
Read-only property; an integer specifying the required level of picture quality, as determined by
the amount of compression being applied to each video frame. Acceptable quality values range
from 1 (lowest quality, maximum compression) to 100 (highest quality, no compression). The
default value is 0, which means that picture quality can vary as needed to avoid exceeding
available bandwidth.
See also
Camera.setQuality
Camera.setKeyFrameInterval
Availability
• Flash Player 6.
• Flash Communication Server MX (not required).
Usage
activeCamera.setKeyFrameInterval(keyframeInterval)
Parameters
keyframeInterval A numeric value that specifies which video frames are transmitted in full
(called keyframes) instead of being interpolated by the video compression algorithm. A value of 1
means that every frame is a keyframe, a value of 3 means that every third frame is a keyframe, and
so on. Acceptable values are 1 through 48. The default value is 15.
Returns
Nothing.
Description
Method; specifies which video frames are transmitted in full (called keyframes) instead of being
interpolated by the video compression algorithm. This method is generally applicable only if you
are transmitting video using Flash Communication Server.
The Flash video compression algorithm compresses video by transmitting only what has changed
since the last frame of the video; these portions are considered to be interpolated frames. It may
help to compare this concept with how tweening and keyframes interact within the Flash
authoring environment: the frames between keyframes are created (interpolated) based on the
contents of the previous frame. Similarly, frames of a video can be interpolated according to the
contents of the previous frame. A keyframe, however, is a video frame that is complete; it is not
interpolated from prior frames.
Komentáře k této Příručce