Skip to content

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

Added ability to switch audio output device - changes after review

Kostiantyn Tsaregradskyi5e027e0a915f
diff --git a/conference.js b/conference.js
index 0a945bfb1a..c8f02b222a 100644
--- a/conference.js
+++ b/conference.js
@@ -1107,7 +1107,7 @@ export default {
UIEvents.AUDIO_OUTPUT_DEVICE_CHANGED,
(audioOutputDeviceId) => {
APP.settings.setAudioOutputDeviceId(audioOutputDeviceId)
- .then(() => console.log('changed output device'))
+ .then(() => console.log('changed audio output device'))
.catch((err) => {
console.error('failed to set audio output device', err);
});
diff --git a/modules/UI/side_pannels/settings/SettingsMenu.js b/modules/UI/side_pannels/settings/SettingsMenu.js
index c380ec42f3..0d76809f25 100644
--- a/modules/UI/side_pannels/settings/SettingsMenu.js
+++ b/modules/UI/side_pannels/settings/SettingsMenu.js
@@ -218,7 +218,7 @@ export default {
);
if (audioOutput.length &&
- JitsiMeetJS.isAudioOutputDeviceChangeAvailable()) {
+ JitsiMeetJS.isDeviceChangeAvailable('output')) {
$selectAudioOutput.html(
generateDevicesOptions(audioOutput,
Settings.getAudioOutputDeviceId()));