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
Converts ssltcp candidate to tcp one on FF.
damencho1c19f977ade3
diff --git a/modules/xmpp/SDPUtil.js b/modules/xmpp/SDPUtil.jsindex ad581fc06a..e0d2f5d257 100644--- a/modules/xmpp/SDPUtil.js+++ b/modules/xmpp/SDPUtil.js@@ -311,7 +311,13 @@ var SDPUtil = {line += ' ';line += cand.getAttribute('component');line += ' ';- line += cand.getAttribute('protocol'); //.toUpperCase(); // chrome M23 doesn't like this++ var protocol = cand.getAttribute('protocol');+ // use tcp candidates for FF+ if (RTCBrowserType.isFirefox() && protocol.toLowerCase() == 'ssltcp') {+ protocol = 'tcp';+ }+line += ' ';line += cand.getAttribute('priority');line += ' ';@@ -338,7 +344,7 @@ var SDPUtil = {}break;}- if (cand.getAttribute('protocol').toLowerCase() == 'tcp') {+ if (protocol.toLowerCase() == 'tcp') {line += 'tcptype';line += ' ';line += cand.getAttribute('tcptype');diff --git a/package.json b/package.jsonindex 0d3606b2bc..c133f3c078 100644--- a/package.json+++ b/package.json@@ -27,9 +27,9 @@"jssha": "1.5.0","pako": "*","retry": "0.6.1",- "sdp-interop": "0.1.10",- "sdp-simulcast": "0.1.2",- "sdp-transform": "1.4.1",+ "sdp-interop": "0.1.11",+ "sdp-simulcast": "0.1.3",+ "sdp-transform": "1.5.*","socket.io-client": "1.3.6","strophe": "^1.2.2","strophejs-plugins": "^0.0.6",