Re: [mediacapture-main] Should getCapabilities() return an empty array or undefined for facingMode? (#969)

> The likely reason for the empty array is platform dependence - I think we support "user" and "environment" on Android, but in general on the PC platforms, we have no way of knowing which way the camera is facing. So we support the constraint in code (and thus generate an element for it in capabilities), but on the platform the test runs on, there are no applicable values.

This is correct, and I don't think there is anything in the spec that explicitly prohibits this behavior.
Also note that Chromium also supports `facingMode` values on Windows and ChromeOS, which have APIs to get this information.


-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/969#issuecomment-1946288546 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 February 2024 15:09:42 UTC