Discussion Area

ask questions, discuss topics, solve problems

This is a public Discussion Area  publicRSS

Thread

    • Resizing published camera stream
      Thread posted Sep 16 by steven.vh
      224 Views, 0 Comments
      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?