Dear Adobe Community,
I am working on an app where I grab the video from an android (2.3.3) device, and stream it to a recording video server. My app is written in AS3 with Flash Pro CS5.5, so I first publish that, then use the adt command line to compile using the Air 3.0rc SDK for a runtime bundled version. The rear camera works perfectly fine, meaning, when I hold the phone in landscape mode, video displayed in the video object is right side up, and when I hold the phone in portrait mode, the video on screen also turns, also right side up. When I switch to the front cam, however, the video displays fine on screen in landscape mode (right side up), but when I hold the phone in portrait mode, the video turns upside down. I tried flipping the video object vertically, which fixes the 'right side up' issue for the front cam in portrait mode, but all other positions turn upside down. Is anyone else experiencing a similar issue? I am using the 3.0 SDK release candidate version to compile.
p.s. I have auto-rotate turned off, and position in portrait mode when I compile the apk. I tried swiching to landscape mode, but same result.
Any help or hints are greatly appreciated.
That was quite a long time back. Unfortunately, even today, if your target platform is below ICS (Android 4), that rear camera orientation issue is still present. You can adjust so that you flip the video object within your app if it's upside down (say, when you are recording a video and allowing the user to change between front and rear cams mid-stream), but there is no way to change the orientation of the video itself, sans adding some lines of code in a native Android code itself, not through Air. Hope this helps.