Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(conference): do not mute when screen sharing

paweldomas6655ae5a845b
diff --git a/conference.js b/conference.js
index f130f1a1d6..0dcef6c8ed 100644
--- a/conference.js
+++ b/conference.js
@@ -2018,9 +2018,10 @@ export default {
// If video was muted before, or we unplugged current device
// and selected new one, then mute new video track.
- if (videoWasMuted ||
- currentDevices.videoinput.length >
- availableVideoInputDevices.length) {
+ if (!this.isSharingScreen &&
+ (videoWasMuted ||
+ currentDevices.videoinput.length >
+ availableVideoInputDevices.length)) {
muteLocalVideo(true);
}
}));