Added ability to switch audio output device - changes after review
This commit is contained in:
parent
d34adb67dd
commit
5e027e0a91
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -218,7 +218,7 @@ export default {
|
|||
);
|
||||
|
||||
if (audioOutput.length &&
|
||||
JitsiMeetJS.isAudioOutputDeviceChangeAvailable()) {
|
||||
JitsiMeetJS.isDeviceChangeAvailable('output')) {
|
||||
$selectAudioOutput.html(
|
||||
generateDevicesOptions(audioOutput,
|
||||
Settings.getAudioOutputDeviceId()));
|
||||
|
|
Loading…
Reference in New Issue