Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(conference.js): crash on undefined
Pawel Domas7c90f75ec926
diff --git a/conference.js b/conference.jsindex cf0918bda4..319e5980b9 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.