Browse Source

fix(BridgeChannel) Enable SCTP by default.

release-8443
Jaya Allamsetty 1 year ago
parent
commit
2d90500a00
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js View File

2291
  */
2291
  */
2292
 JitsiConference.prototype._setBridgeChannel = function(offerIq, pc) {
2292
 JitsiConference.prototype._setBridgeChannel = function(offerIq, pc) {
2293
     const ignoreDomain = this.connection?.options?.bridgeChannel?.ignoreDomain;
2293
     const ignoreDomain = this.connection?.options?.bridgeChannel?.ignoreDomain;
2294
-    const preferSctp = this.connection?.options?.bridgeChannel?.preferSctp ?? false;
2294
+    const preferSctp = this.connection?.options?.bridgeChannel?.preferSctp ?? true;
2295
     const sctpOffered = $(offerIq).find('>content[name="data"]')
2295
     const sctpOffered = $(offerIq).find('>content[name="data"]')
2296
         .first().length === 1;
2296
         .first().length === 1;
2297
     let wsUrl = null;
2297
     let wsUrl = null;

Loading…
Cancel
Save