Bläddra i källkod

fix: Do not send trickle candidates to jicofo (#2149)

The candidates are not necessary when we use jvb.
release-8443
bgrozev 3 år sedan
förälder
incheckning
b19a9991e9
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      modules/xmpp/JingleSessionPC.js

+ 3
- 1
modules/xmpp/JingleSessionPC.js Visa fil

@@ -518,7 +518,9 @@ export default class JingleSessionPC extends JingleSession {
518 518
                     });
519 519
                 this._gatheringReported = true;
520 520
             }
521
-            this.sendIceCandidate(candidate);
521
+            if (this.isP2P) {
522
+                this.sendIceCandidate(candidate);
523
+            }
522 524
         };
523 525
 
524 526
         // Note there is a change in the spec about closed:

Laddar…
Avbryt
Spara