diff --git a/conference.js b/conference.js index cf0918bda..319e5980b 100644 --- a/conference.js +++ b/conference.js @@ -2248,7 +2248,7 @@ export default { return this.useAudioStream(stream); }) .then(() => { - if (hasDefaultMicChanged) { + if (this.localAudio && hasDefaultMicChanged) { // workaround for the default device to be shown as selected in the // settings even when the real device id was passed to gUM because of the // above mentioned chrome bug. @@ -2588,7 +2588,7 @@ export default { // Use the new stream or null if we failed to obtain it. return useStream(tracks.find(track => track.getType() === mediaType) || null) .then(() => { - if (hasDefaultMicChanged) { + if (this.localAudio && hasDefaultMicChanged) { // workaround for the default device to be shown as selected in the // settings even when the real device id was passed to gUM because of // the above mentioned chrome bug.