Browse Source

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

The candidates are not necessary when we use jvb.
release-8443
bgrozev 2 years ago
parent
commit
b19a9991e9
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      modules/xmpp/JingleSessionPC.js

+ 3
- 1
modules/xmpp/JingleSessionPC.js View File

518
                     });
518
                     });
519
                 this._gatheringReported = true;
519
                 this._gatheringReported = true;
520
             }
520
             }
521
-            this.sendIceCandidate(candidate);
521
+            if (this.isP2P) {
522
+                this.sendIceCandidate(candidate);
523
+            }
522
         };
524
         };
523
 
525
 
524
         // Note there is a change in the spec about closed:
526
         // Note there is a change in the spec about closed:

Loading…
Cancel
Save