Bug 1899736 Comment 25 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This patch modifes two things.

First thing is, since we already spoof device properties in `MediaManager::AnonymizeDevices`, we can use real devices, it won't leak any extra device information. Fallback to fake engine if the user doesn't have at least one camera or mic.

Second one is ReduceConstraint. We can allow deviceId since you can't really extract anything useful. Allowing device id in reduced constraint would allow websites to pick the correct input devices without exposing any identifiable data.

In summary, this patch would fix websites that depend on switching input devices (zoom, google meet etc.), without leaking real device information.
This patch modifes two things.

First thing is, since we already spoof device properties in `MediaManager::AnonymizeDevices`, we can use real devices, it won't leak any extra device information. Fallback to fake engine if the user doesn't have at least one camera or mic.

Second one is ReduceConstraint. We can allow deviceId since you can't really extract anything useful. Allowing device id in reduced constraint would allow websites to pick the correct input devices without exposing any identifiable data. (Except for the previously seen device, but again, if the user grants permission with getUserMedia, then the device ids would be exposed anyway)

In summary, this patch would fix websites that depend on switching input devices (zoom, google meet etc.), without leaking real device information.

Back to Bug 1899736 Comment 25