Skip to main content
Participant
July 28, 2006
Question

Poor resolution

  • July 28, 2006
  • 1 reply
  • 274 views
I have created a video chat application, but the resolution of the video is poor. I have both the bitrate and quality high, but it seems like the horizontal and vertical resolution is low. Is there a way to set the with and height of the captured camera input?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    July 28, 2006
    It's all in the docs about the camera class. You want to use camera.setMode.

    Keep in mind that all cameras support a limited range of resolutions. If you try to use an unsupported resolution, the flashplayerplayer is going to have to resample the images coming from the camera, which will degrade the quality. You can play with the favorArea flag in the setMode method if you want to try to force an unsupported resolution.

    Also, you want the size of your video object (on the stage) to match your camera width and height. If they differ, the flashplayer has to resample the images to scale them up or down, and that will make the image blocky and ugly.