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 forcing tcp connections.

damencho2af941d607cf
diff --git a/libs/lib-jitsi-meet.js b/libs/lib-jitsi-meet.js
index 1b0d2ae7e5..9452529b22 100644
--- a/libs/lib-jitsi-meet.js
+++ b/libs/lib-jitsi-meet.js
@@ -7492,10 +7492,10 @@ JingleSessionPC.prototype.accept = function () {
pranswer.sdp = pranswer.sdp.replace('a=inactive', 'a=sendrecv');
}
var prsdp = new SDP(pranswer.sdp);
- if (self.webrtcIceTcpDisable) {
+ if (this.webrtcIceTcpDisable) {
prsdp.removeTcpCandidates = true;
}
- if (self.webrtcIceUdpDisable) {
+ if (this.webrtcIceUdpDisable) {
prsdp.removeUdpCandidates = true;
}
var accept = $iq({to: this.peerjid,
@@ -7817,10 +7817,10 @@ JingleSessionPC.prototype.getSsrcOwner = function (ssrc) {
JingleSessionPC.prototype.setRemoteDescription = function (elem, desctype) {
//logger.log('setting remote description... ', desctype);
this.remoteSDP = new SDP('');
- if (self.webrtcIceTcpDisable) {
+ if (this.webrtcIceTcpDisable) {
this.remoteSDP.removeTcpCandidates = true;
}
- if (self.webrtcIceUdpDisable) {
+ if (this.webrtcIceUdpDisable) {
this.remoteSDP.removeUdpCandidates = true;
}