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 an unused variable.
Boris Grozev63a9cb1e19eb
diff --git a/app.js b/app.jsindex a9b6a6d792..66454e5a9b 100644--- a/app.js+++ b/app.js@@ -962,7 +962,6 @@ function toggleVideo() {*/function toggleAudio() {if (!(connection && connection.jingle.localAudio)) {- preMuted = true;// We still click the button.buttonClick("#mute", "icon-microphone icon-mic-disabled");return;diff --git a/videolayout.js b/videolayout.jsindex 06e866d959..156e417687 100644--- a/videolayout.js+++ b/videolayout.js@@ -1,5 +1,4 @@var VideoLayout = (function (my) {- var preMuted = false;var currentDominantSpeaker = null;var lastNCount = config.channelLastN;var lastNEndpointsCache = [];@@ -14,10 +13,6 @@ var VideoLayout = (function (my) {RTC.attachMediaStream($('#localAudio'), stream);document.getElementById('localAudio').autoplay = true;document.getElementById('localAudio').volume = 0;- if (preMuted) {- toggleAudio();- preMuted = false;- }};my.changeLocalVideo = function(stream, flipX) {