4 Replies Latest reply on Feb 7, 2013 12:08 AM by QwirkAIR

    Problem with Camera and Video on Android with AIR 3.5

    QwirkAIR

      Hi everyone,

       

      I am developing an application which requires the feed from the camera to be shown on the Android device's screen. However, when using the typical Camera and Video objects like so:

       

      private var vid:Video; 
      private var cam:Camera;
      
      cam = Camera.getCamera("0");
      vid = new Video();
      vid.attachCamera(cam); 
      videoDisplay.addChild(vid);
      

       

      I get this weird output on screen.

      scr1.jpg

       

      I have tried on multiple devices, and the same thing happens. However, I have only seen this happening with AIR 3.5. I have tried all AIR versions from 3.1 onwards and all work except for 3.5.

      It would be great if anyone can tell me anything that might help in solving this.

       

      Thanks in advance.