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

youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== Should getCapabilities() return an empty array or undefined for facingMode? ==
As pointed by Eric, on macOS, Chrome and Safari capabilities for a camera track differ for `facingMode`.
Safari does not include `facingMode`, Chrome sets it to `[]`.
The spec does not seem to provide guidance for `facingMode`.
It would be good to be consistent and either use `undefined` or `[]`.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/969 using your GitHub account


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

Received on Thursday, 14 September 2023 11:04:40 UTC