Added ability to switch audio output device - changes after review

This commit is contained in:
Kostiantyn Tsaregradskyi 2016-05-10 13:11:41 +03:00
parent d34adb67dd
commit 5e027e0a91
2 changed files with 2 additions and 2 deletions

View File

@ -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);
});

View File

@ -218,7 +218,7 @@ export default {
);
if (audioOutput.length &&
JitsiMeetJS.isAudioOutputDeviceChangeAvailable()) {
JitsiMeetJS.isDeviceChangeAvailable('output')) {
$selectAudioOutput.html(
generateDevicesOptions(audioOutput,
Settings.getAudioOutputDeviceId()));