Sfoglia il codice sorgente

fix(JitsiConf...): stop P2P on JVB121

The P2P session must be stopped with '_stopP2PSession' once accepted.
dev1
paweldomas 8 anni fa
parent
commit
f4916789e4
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1
    5
      JitsiConference.js

+ 1
- 5
JitsiConference.js Vedi File

@@ -2104,12 +2104,8 @@ JitsiConference.prototype._onIceConnectionEstablished
2104 2104
         && typeof forceJVB121Ratio === 'number'
2105 2105
         && Math.random() < forceJVB121Ratio) {
2106 2106
         logger.info(`Forcing JVB 121 mode (ratio=${forceJVB121Ratio})...`);
2107
-        this._rejectIncomingCall(
2108
-            jingleSession, {
2109
-                reasonTag: 'decline',
2110
-                reasonMsg: 'force JVB121'
2111
-            });
2112 2107
         Statistics.analytics.addPermanentProperties({ forceJvb121: true });
2108
+        this._stopP2PSession('decline', 'force JVB121');
2113 2109
 
2114 2110
         return;
2115 2111
     }

Loading…
Annulla
Salva