浏览代码

feat: Whitelists the gatherStats option. (#2561)

* feat: Whitelists the gatherStats option.

* doc: Replaces obsolete disableStats option with gatherStats.
j8
George Politis 7 年前
父节点
当前提交
1c8b8e031b
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 5
    2
      config.js
  2. 1
    0
      react/features/base/config/functions.js

+ 5
- 2
config.js 查看文件

@@ -245,8 +245,11 @@ var config = {
245 245
     // Stats
246 246
     //
247 247
 
248
-    // Whether to enable stats collection or not.
249
-    // disableStats: false,
248
+    // Whether to enable stats collection or not in the TraceablePeerConnection.
249
+    // This can be useful for debugging purposes (post-processing/analysis of
250
+    // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
251
+    // estimation tests.
252
+    // gatherStats: false,
250 253
 
251 254
     // To enable sending statistics to callstats.io you must provide the
252 255
     // Application ID and Secret.

+ 1
- 0
react/features/base/config/functions.js 查看文件

@@ -64,6 +64,7 @@ const WHITELISTED_KEYS = [
64 64
     'failICE',
65 65
     'firefox_fake_device',
66 66
     'forceJVB121Ratio',
67
+    'gatherStats',
67 68
     'hiddenDomain',
68 69
     'hosts',
69 70
     'iAmRecorder',

正在加载...
取消
保存