Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Log warning instead of error for audio output device change errors

tsaregc1a93afeaf56
diff --git a/conference.js b/conference.js
index 8580931334..46045ae477 100644
--- a/conference.js
+++ b/conference.js
@@ -1379,7 +1379,9 @@ export default {
APP.settings.setAudioOutputDeviceId(audioOutputDeviceId)
.then(() => console.log('changed audio output device'))
.catch((err) => {
- console.error('failed to set audio output device', err);
+ console.warn('Failed to change audio output device. ' +
+ 'Default or previously set audio output device ' +
+ 'will be used instead.', err);
});
}
);
diff --git a/modules/settings/Settings.js b/modules/settings/Settings.js
index 7cdfe3a140..aceb3839af 100644
--- a/modules/settings/Settings.js
+++ b/modules/settings/Settings.js
@@ -52,8 +52,9 @@ if (supportsLocalStorage()) {
JitsiMeetJS.mediaDevices.getAudioOutputDevice()) {
JitsiMeetJS.mediaDevices.setAudioOutputDevice(audioOutputDeviceId)
.catch((ex) => {
- console.error('failed to set audio output device from local ' +
- 'storage', ex);
+ console.warn('Failed to set audio output device from local ' +
+ 'storage. Default audio output device will be used' +
+ 'instead.', ex);
});
}
} else {