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.

Seems a bit weird. But if we drop empty arrays for this case, we should drop it for all cases.

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


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

Received on Wednesday, 14 February 2024 21:57:52 UTC