Re: [mediacapture-main] Deprecate inputDeviceInfo.getCapabilities() for better privacy (#672)

If the device was used in the past, the web page was able to grab the capabilities from the track and store them. We can therefore expose getCapabilities to any device that was used in the past from the last reset ID event, without any additional fingerprinting exposure. This seems like a handy mechanism to me.

The only case is those devices that have not been used in the past. We could decide for getCapabilities to return an empty object to keep it privacy neutral but we would loose some functionality in how web pages can discover the user setup.

I am hesitant to break this functionality.
In general, I do not really like web pages to craft very complex getUserMedia constraints to express what they need (and at the end maybe fail to have it in an interoperable way).
It seems live providing some information of the user setup after a user prompt is ok.

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

Received on Tuesday, 21 April 2020 09:13:50 UTC