Discussion Area

ask questions, discuss topics, solve problems

This is a public Discussion Area  publicRSS

Thread

    Resizing published camera stream
    Thread posted 09/16/09 by steven.vh
    547 Views
    Title:
    Resizing published camera stream
    Content:

    The problem I'm having is that I need to publish a camera stream from flash in low quality and resolution but show that same stream in high quality and resolution. With ActionScript I get the active camera and set its size like this:

    var cam:Camera = Camera.getCamera();
    cam.setMode(width, height, 20);
    cam.setQuality(0,quality);

    I'ld then attach that camera to a video object and to a stream that publishes it to FMS. Before attaching it to the stream I change the quality and mode again to record it in a lower resolution but that also changes the quality and resolution of the video that is shown in the video.

    So I was wondering if it was possible to record the stream with higher resolution and resize the published stream in the application before it is written to an flv file?

    Copyright © 2009 Adobe Systems Incorporated. All rights reserved.

    Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-08-2008).

    Powered by HiveLive