Преглед на файлове

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',

Loading…
Отказ
Запис