element-hq / element-call

Group calls powered by Matrix
https://call.element.io
GNU Affero General Public License v3.0
591 stars 92 forks source link

Don't fall back as eagerly to unselected devices #2802

Closed robintown closed 1 day ago

robintown commented 3 days ago

Somewhere around version 131 or 132, Firefox has started being more paranoid about media device fingerprinting, and will not even give you the IDs of available devices until you've requested a media stream. Instead you only get a single audio input and video input each with the empty string as their device ID, representing the system's default device. We can recognize this case and avoid resetting the device selection.

Closes https://github.com/element-hq/element-call/issues/2770