You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, "device" is used to describe all sorts of different things. For instance, MediaDeviceInfo differentiates between "device" (deviceId) and "physical device" (groupId)!
Looking at your list:
groupId is a data-less grouping token for mic and camera belonging to the same "physical" hardware. Not persisted to disk, but stable within a browser-session and not origin-unique (I'm surprised no-one's picked up on this fingerprinting issue). Did you mean deviceId?
https://w3c.github.io/mediacapture-main/#idl-def-MediaDeviceInfo defines the
groupId
field to identify a physical device. http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort defines theid
field to identify the device. https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice defines theinstanceId
field to identify a device. A single physical device could appear in more than one of these APIs, and it'd be nice to let web pages figure out that it's a single device, to the extent the browser knows.@cwilso @slightlyoff (I'm not sure if it makes to file this in a couple of the affected specs, or if it should be a TAG issue.)
The text was updated successfully, but these errors were encountered: