From 5e027e0a915fb3f35dde534f7234c4b06b198996 Mon Sep 17 00:00:00 2001 From: Kostiantyn Tsaregradskyi Date: Tue, 10 May 2016 13:11:41 +0300 Subject: [PATCH] Added ability to switch audio output device - changes after review --- conference.js | 2 +- modules/UI/side_pannels/settings/SettingsMenu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conference.js b/conference.js index 0a945bfb1..c8f02b222 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 c380ec42f..0d76809f2 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()));