-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello.
I found that UseFrontCameraIfAvailable did not work on Android devices.
I inspected github repository sources and found that front camera was always bypassed by code like this;
// We don't use a front facing camera in this sample.
var facing = (Integer)characteristics.Get(CameraCharacteristics.LensFacing);
if (facing != null && facing == (Integer.ValueOf((int)LensFacing.Front)))
{
continue;
}
If you implement UseFrontCameraIfAvailable support on Android, it will be best.
In addition, if it is possible to select or set a target camera for previewing, it will be very helpful. Current Android implementation may use first non-front camera.
Best regards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels