Copy link to clipboard
Copied
Hi,
Can anyone confirm if it is actually possible to use the front facing camera on an I Phone from a Flash created App?
I am using:
var cam:Camera = Camera.getCamera();
And it wil display the camera on the screen, but rotated 90 degrees and only the main camera.
Many thanks for your time.
Copy link to clipboard
Copied
It's asking for a "name" of the camera, which can be an index. It defaults to index 0 which is the main (back) camera. Set it to "1" and it will use the front camera.
Copy link to clipboard
Copied
Thanks for the link and the tip. Worked perfectly.
And if anyone else want to use the fromt facing camera you may need to rotate the video.
video.rotation = 90;
Copy link to clipboard
Copied
You're welcome and if you're all set please mark helpful/correct so we can attend unanswered questions. Good luck!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now