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
Removes join / leave notifications if the participant start audio muted.
hristoterezov1d660e18837d
diff --git a/index.html b/index.htmlindex d967b93877..91a41cf259 100644--- a/index.html+++ b/index.html@@ -19,7 +19,7 @@<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib --><script src="libs/toastr.js?v=1"></script><!-- notifications lib --><script src="interface_config.js?v=5"></script>- <script src="libs/app.bundle.js?v=73"></script>+ <script src="libs/app.bundle.js?v=74"></script><script src="analytics.js?v=1"></script><!-- google analytics plugin --><link rel="stylesheet" href="css/font.css?v=7"/><link rel="stylesheet" href="css/toastr.css?v=1">diff --git a/libs/app.bundle.js b/libs/app.bundle.jsindex e8e55bf154..d69a15d2d2 100644--- a/libs/app.bundle.js+++ b/libs/app.bundle.js@@ -7706,7 +7706,9 @@ var VideoLayout = (function (my) {container.id = 'mixedstream';container.className = 'videocontainer';remotes.appendChild(container);- UIUtil.playSoundNotification('userJoined');+ if(!config.startAudioMuted ||+ config.startAudioMuted > APP.members.size())+ UIUtil.playSoundNotification('userJoined');}if (container) {@@ -8227,7 +8229,9 @@ var VideoLayout = (function (my) {// Remove whole containercontainer.remove();- UIUtil.playSoundNotification('userLeft');+ if(!config.startAudioMuted ||+ config.startAudioMuted > APP.members.size())+ UIUtil.playSoundNotification('userLeft');VideoLayout.resizeThumbnails();}@@ -10283,6 +10287,12 @@ var Members = {},removeListener: function (type, listener) {eventEmitter.removeListener(type, listener);+ },+ size: function () {+ return Object.keys(members).length;+ },+ getMembers: function () {+ return members;}};diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 26fc422484..918df36fae 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -779,7 +779,9 @@ var VideoLayout = (function (my) {container.id = 'mixedstream';container.className = 'videocontainer';remotes.appendChild(container);- UIUtil.playSoundNotification('userJoined');+ if(!config.startAudioMuted ||+ config.startAudioMuted > APP.members.size())+ UIUtil.playSoundNotification('userJoined');}if (container) {@@ -1300,7 +1302,9 @@ var VideoLayout = (function (my) {// Remove whole containercontainer.remove();- UIUtil.playSoundNotification('userLeft');+ if(!config.startAudioMuted ||+ config.startAudioMuted > APP.members.size())+ UIUtil.playSoundNotification('userLeft');VideoLayout.resizeThumbnails();}diff --git a/modules/members/MemberList.js b/modules/members/MemberList.jsindex 343d98f025..73cdab538b 100644--- a/modules/members/MemberList.js+++ b/modules/members/MemberList.js@@ -117,6 +117,12 @@ var Members = {},removeListener: function (type, listener) {eventEmitter.removeListener(type, listener);+ },+ size: function () {+ return Object.keys(members).length;+ },+ getMembers: function () {+ return members;}};