Re: [mediacapture-main] It is not possible to identify if a device listed in MediaDevices.enumerateDevices() is virtual (#896)

> It is possible to ensure continuity of existence of a device using the deviceId. So if you have trusted a device once, you can figure out whether you still have the same device.

It still is not possible.  Suppose I have a perfectly normal webcam attached at one moment, and then for the next session I replace it with a modified camera or something emulating a webcam.  Not all USB devices have unique IDs in their descriptor, so as long as these devices are attached to the same port, it is impossible to distinguish the fake device from the real device.

Perhaps another scenario... take a smartphone, unplug its camera from the board, and plug something else in, emulating the video data.

Impossible legal requirements for an application should not have any bearing on the general specifications for API standards.

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


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

Received on Monday, 8 August 2022 16:29:52 UTC