[mediacapture-main] Can devicechange fire prior to enumerateDevices? (#956)

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

== Can devicechange fire prior to enumerateDevices? ==
I'm looking at a [Chrome bug report](https://bugs.chromium.org/p/chromium/issues/detail?id=1403403) and noticed I dislike the current behavior from a privacy point of view.

Does `devicechange` fire if the application never called `enumerateDevices`?
The argument for "no" is "you don't know what devices were available so why do you care about changes". It also means we have two vectors leaking device information instead of being able to focus on enumerateDevices (which is [a big mess](https://chromestatus.com/metrics/feature/timeline/popularity/1119))

Firefox doesn't seem to fire devicechange prior to enumerateDevices from what I can see (@jan-ivar to confirm)

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/956 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 08:14:56 UTC