浏览代码

remove redundant option - enableCallStats

master
Jaya Allamsetty 2 年前
父节点
当前提交
a1bbdc1f6b
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    1
      JitsiConference.js
  2. 1
    1
      modules/statistics/statistics.js

+ 0
- 1
JitsiConference.js 查看文件

@@ -468,7 +468,6 @@ JitsiConference.prototype._init = function(options = {}) {
468 468
             callStatsID: config.callStatsID,
469 469
             callStatsSecret: config.callStatsSecret,
470 470
             callStatsApplicationLogsDisabled: config.callStatsApplicationLogsDisabled,
471
-            enableCallStats: true,
472 471
             roomName: this.options.name,
473 472
             applicationName: config.applicationName,
474 473
             configParams: config.callStatsConfigParams

+ 1
- 1
modules/statistics/statistics.js 查看文件

@@ -163,7 +163,7 @@ export default function Statistics(xmpp, options) {
163 163
     this.options = options || {};
164 164
 
165 165
     this.callStatsIntegrationEnabled
166
-        = this.options.callStatsID && this.options.callStatsSecret && this.options.enableCallStats
166
+        = this.options.callStatsID && this.options.callStatsSecret
167 167
 
168 168
             // Even though AppID and AppSecret may be specified, the integration
169 169
             // of callstats.io may be disabled because of globally-disallowed

正在加载...
取消
保存