Skip to main content
User Unknow
Legend
April 18, 2014
Question

iOS Camera bug with orientation :(

  • April 18, 2014
  • 0 replies
  • 437 views

Does somebody know this bug?

I use this simple code:

import flash.media.Video;

import flash.media.Camera;

import flash.display.StageOrientation;

var video : Video = new Video(640,480);

addChild(video);

var camera : Camera = Camera.getCamera();

camera.setMode(640,480,12);

video.attachCamera(camera);

And receive this issue. Image rotated. Looks like Adobe Air UIView use wrong orientation!?

This bug was sawn in Air 13 Release and latest beta from April, 15th. Don't know any other Air version that have this issue so you need to test yourself.

Tested in iOS 6.1.3 iPhone4 and iPad4 iOS 7.1 - the same.

Options on this image:

- Portrait

- FullScreen

- no autoOrientation

- CPU render method

- iPhone

Referencing to this thread http://forums.adobe.com/message/6153866#6153866

No, you can't rotate because if you use "Draw" to bitmapData - you will receive content with wrong orientation and rotating it - not cheap cpu operation.

This topic has been closed for replies.