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

Camera rotated 90º on Flash Professional CC

Explorer ,
Nov 25, 2015 Nov 25, 2015

Copy link to clipboard

Copied

Hello,

I'm working with Flash Professional CC and exporting my .fla for AIR 17.0 for Android.

In my .fla I get the Camera like follows:

          cam1 = Camera.getCamera();

Once I get the camera I attach it to a NetStream:

          netLocalStream.attachCamera(cam1);

And then I receive it:

          receivedVideo.attachNetStream(netRemoteStream);

But this image received is rotated 90º. How can I fix it?

My App is portrait oriented.

Can someone help me?

Thank you

TOPICS
ActionScript

Views

294

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
Community Expert ,
Nov 25, 2015 Nov 25, 2015

Copy link to clipboard

Copied

LATEST

apply a compensatory rotation to your video instance, receivedVideo (but make sure that will work with other video cameras because your test camera is probably rotated).  the easiest solution would be to let users control the video's rotation so you don't have to deal with camera rotation differences.

Votes

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