瀏覽代碼
fix: Do not send trickle candidates to jicofo (#2149)
The candidates are not necessary when we use jvb.
release-8443
bgrozev
2 年之前
No account linked to committer's email address
|
@@ -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:
|