Просмотр исходного кода

Merge pull request #543 from jitsi/stop_p2p_on_jvb121

fix(JitsiConf...): stop P2P on JVB121
dev1
George Politis 8 лет назад
Родитель
Сommit
677bc4388b
1 измененных файлов: 1 добавлений и 5 удалений
  1. 1
    5
      JitsiConference.js

+ 1
- 5
JitsiConference.js Просмотреть файл

@@ -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
     }

Загрузка…
Отмена
Сохранить