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
Fixes retrieving correct local ssrc in FF. Fixes tests that were checking for audio levels.
damencho08107ca95b66
diff --git a/modules/xmpp/JingleSessionPC.js b/modules/xmpp/JingleSessionPC.jsindex dc53b6e015..30c8330862 100644--- a/modules/xmpp/JingleSessionPC.js+++ b/modules/xmpp/JingleSessionPC.js@@ -1438,6 +1438,20 @@ JingleSessionPC.prototype.setLocalDescription = function () {'ssrc': ssrc.id,'type': media.type});++ // In FF we have multiple local SSRC per media type, 1 that is+ // sending and some that are receive only. The+ // localStramsSSRC['audio'] needs to be set to the one that is+ // sending! We find it by checking for an msid. Note that+ // self.localStreamsSSRC is primarily used by the tests atm.+ var isSending = media.ssrcs.some(function (ssrc$1) {+ return ssrc$1.id == ssrc.id && ssrc$1.attribute == 'msid';+ });++ if (!isSending) {+ return;+ }+// FIXME allows for only one SSRC per media typeself.localStreamsSSRC[media.type] = ssrc.id;});