Browse Source

Merge pull request #543 from jitsi/stop_p2p_on_jvb121

fix(JitsiConf...): stop P2P on JVB121
dev1
George Politis 8 years ago
parent
commit
677bc4388b
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      JitsiConference.js

+ 1
- 5
JitsiConference.js View File

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

Loading…
Cancel
Save