Skip to content

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

Fixes typo with removessrc initialization.

paweldomas7ac2bad8e1c6
diff --git a/libs/strophejingle.bundle.js b/libs/strophejingle.bundle.js
index 0d9761e372..f8dc7c3139 100644
--- a/libs/strophejingle.bundle.js
+++ b/libs/strophejingle.bundle.js
@@ -2133,7 +2133,7 @@ JingleSession.prototype.removeSource = function (elem) {
if (!SDPUtil.find_line(media, 'a=mid:' + name))
return;
sdp.media[idx] += lines;
- if (!self.addssrc[idx]) self.removessrc[idx] = '';
+ if (!self.removessrc[idx]) self.removessrc[idx] = '';
self.removessrc[idx] += lines;
});
sdp.raw = sdp.session + sdp.media.join('');