You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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;
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.
The text was updated successfully, but these errors were encountered: