- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Apr 2023 09:25:12 +0000
- To: public-webrtc-logs@w3.org
> Does `devicechange` fire if the application never called `enumerateDevices`? As per spec, I think so. For both APIs, the privacy protection is based on getUserMedia being called successfully. Testing implementations, it seems that both Safari and Firefox are firing the devicechange event if getUserMedia is called but not enumerateDevices. This might be somehow handy to know that the user's setup changed to offer some dedicated UI to the user although I agree the web page should probably call enumerateDevices beforehand to actually understand whether a device was added or removed I am not sure what would be the privacy benefits for further restricting devicechange events, I would expect fingerprinters to call enumerateDevices anyway. One potential case would be setups that go from zero camera to one camera, but again, fingerprinters will call enumerateDevices. -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/956#issuecomment-1516008015 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 April 2023 09:25:14 UTC