element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.23k stars 2k forks source link

Selected WebRTC device not shown if it's not available #9045

Open dbkr opened 5 years ago

dbkr commented 5 years ago

In voice & video user settings, if we have a preferred input / output device set but that device isn't available on the system at the time the menu is rendered, the dropdown will show that you're using the default. If you plug the device back in and reload settings, it will then currently show your preferred device.

We could add the preferred device to the list of options, although we only remember the device ID so we'd have to display it as 'unknown device'.

lampholder commented 5 years ago

Can we do better? Can we usefully cache the device name along with the device ID?

t3chguy commented 5 years ago

Sure we could, but we can't guarantee they haven't renamed the device since they set it and cause confusion