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
Revert "Temporarily disable hard video mute."
George Politise0e5de6ec080
diff --git a/modules/RTC/LocalStream.js b/modules/RTC/LocalStream.jsindex 7129f0b3ee..bf30305f16 100644--- a/modules/RTC/LocalStream.js+++ b/modules/RTC/LocalStream.js@@ -73,9 +73,7 @@ LocalStream.prototype.setMute = function (mute)var isAudio = this.isAudioStream();var eventType = isAudio ? RTCEvents.AUDIO_MUTE : RTCEvents.VIDEO_MUTE;- // Temporarily disable completely turning off the camera because of- // simulcast.- if (true || (window.location.protocol != "https:" && this.isGUMStream) ||+ if ((window.location.protocol != "https:" && this.isGUMStream) ||(isAudio && this.isGUMStream) || this.videoType === "screen" ||// FIXME FF does not support 'removeStream' method used to muteRTCBrowserType.isFirefox()) {diff --git a/modules/xmpp/JingleSessionPC.js b/modules/xmpp/JingleSessionPC.jsindex 643fca5a53..7b478d3b20 100644--- a/modules/xmpp/JingleSessionPC.js+++ b/modules/xmpp/JingleSessionPC.js@@ -1274,14 +1274,6 @@ JingleSessionPC.prototype.notifyMySSRCUpdate = function (old_sdp, new_sdp) {* contrast to an automatic decision made by the application logic)*/JingleSessionPC.prototype.setVideoMute = function (mute, callback, options) {-- // Temporarily disable completely turning off the camera because of- // simulcast.- APP.RTC.localVideo.setMute(mute);- callback(mute);- return;-- /*var byUser;if (options) {@@ -1319,7 +1311,6 @@ JingleSessionPC.prototype.setVideoMute = function (mute, callback, options) {console.log("SDPs", oldSdp, newSdp);self.notifyMySSRCUpdate(oldSdp, newSdp);});- */};JingleSessionPC.prototype.hardMuteVideo = function (muted) {