瀏覽代碼

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
     // Stats
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
     // To enable sending statistics to callstats.io you must provide the
254
     // To enable sending statistics to callstats.io you must provide the
252
     // Application ID and Secret.
255
     // Application ID and Secret.

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

64
     'failICE',
64
     'failICE',
65
     'firefox_fake_device',
65
     'firefox_fake_device',
66
     'forceJVB121Ratio',
66
     'forceJVB121Ratio',
67
+    'gatherStats',
67
     'hiddenDomain',
68
     'hiddenDomain',
68
     'hosts',
69
     'hosts',
69
     'iAmRecorder',
70
     'iAmRecorder',

Loading…
取消
儲存