Re: [mediacapture-main] How to avoid wide-lens backfacing camera on new phones? (#655)

In general, some web apps might want to perform real-time image processing of the camera stream. Sometimes, the app would need to use the camera with autofocus capability. Currently, it is not possible to specify that (usually a wide-lens camera does not support autofocus, but on some devices it does).

The `focusDistance` constraint should also cover this case, as something similar already exists in [Android Camera API](, where the minimum focus distance of `0` indicates a fixed-focus camera. Also, [iOS has also very similar property]( However, at the moment no browser implements this constraint.

Regarding the `focalLength`, the appropriate android property would probably be [available focal lengths](, while on iOS it would require [some calculation](

However, would it be possible to implement that feature also in desktop browsers?

GitHub Notification of comment by DoDoENT
Please view or discuss this issue at using your GitHub account

Received on Monday, 13 January 2020 17:34:33 UTC