• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

iOS Camera bug with orientation :(

Advocate ,
Apr 18, 2014 Apr 18, 2014

Copy link to clipboard

Copied

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

bug.jpg

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.

TOPICS
Performance issues

Views

387

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines