diff --git a/src/CallMediaHandler.js b/src/CallMediaHandler.js
index 9a1c9d70b8..55b8764a9e 100644
--- a/src/CallMediaHandler.js
+++ b/src/CallMediaHandler.js
@@ -26,8 +26,6 @@ export default {
const audioinput = [];
const videoinput = [];
- if (devices.some((device) => !device.label)) return false;
-
devices.forEach((device) => {
switch (device.kind) {
case 'audiooutput': audiooutput.push(device); break;
diff --git a/src/components/views/settings/tabs/user/VoiceUserSettingsTab.js b/src/components/views/settings/tabs/user/VoiceUserSettingsTab.js
index 84d70a48d4..31a11b13ea 100644
--- a/src/components/views/settings/tabs/user/VoiceUserSettingsTab.js
+++ b/src/components/views/settings/tabs/user/VoiceUserSettingsTab.js
@@ -100,7 +100,17 @@ export default class VoiceUserSettingsTab extends React.Component {
};
_renderDeviceOptions(devices, category) {
- return devices.map((d) => );
+ return devices.map((d) => {
+ let label = d.label;
+ if (!label) {
+ switch (d.kind) {
+ case "audioinput": label = _t("Unnamed microphone"); break;
+ case "audiooutput": label = _t("Unnamed audio output"); break;
+ case "videoinput": label = _t("Unnamed camera"); break;
+ }
+ }
+ return ();
+ });
}
render() {
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 69af5c9d75..5b365a4bf5 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -615,6 +615,9 @@
"Learn more about how we use analytics.": "Learn more about how we use analytics.",
"No media permissions": "No media permissions",
"You may need to manually permit Riot to access your microphone/webcam": "You may need to manually permit Riot to access your microphone/webcam",
+ "Unnamed microphone": "Unnamed microphone",
+ "Unnamed audio output": "Unnamed audio output",
+ "Unnamed camera": "Unnamed camera",
"Missing media permissions, click the button below to request.": "Missing media permissions, click the button below to request.",
"Request media permissions": "Request media permissions",
"No Audio Outputs detected": "No Audio Outputs detected",