Re: [mediacapture-main] Make deviceId and groupId consistent with other capabilities. (#942)

We have used sequence<DOMString> to indicate a bounded set of possible values, I'm not sure if this syntax was chosen to indicate an unknowable set of values.

From the constrainable pattern text:

"Capabilities is a dictionary containing one or more key-value pairs, where each key MUST be a constrainable property, and each value MUST be a subset of the set of values allowed for that property. "

Query: should there be a recommendation that the value given is the default device for that type, and that more values should only be added if they would be returned in navigator.mediaDevices? Or is that making life more complicated?


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


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

Received on Thursday, 11 May 2023 13:45:41 UTC