Hi. Experimenting with the Camera Control.
There is a tutorial.
https://powerapps.microsoft.com/e…/tutorials/control-camera/
The Camera Control has a property for the Camera ID.
Key properties
Camera – On a device that has more than one camera, the numeric ID of the camera that the app uses.
What is the best method to know the cameraID? what is the cameraID of the selfie camera? what about the main camera? 0? 1? 2? 1000? Is the camera ID device dependent?
On iOS the main camera id is 2, the selfie camera is 0 or -1.
Not sure if it is the same on android, couldn't test this yet
In the Windows Phone environment. the main camera has 0 as Camera ID. the front facing camera is not 1. or 2. or 3.
Camera ID should be consistent. ex: 1 for Selfie. 2 for Main. ACROSS IOS, ANDROID, Windows
Please let us know which is which. Please be consistent. Thanks.
We just added a new AvailableDevices property to the camera control that provides the IDs and names for all the cameras found. Try using this to present a list of choices to the user to pick between. Unfortunately it is impossible to provide a consistent numbering scheme as each manufacturer treats this differently.