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
Copy link to clipboard
Copied
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.