From 1c8b8e031b09fa7f089fb72038c9639c98e009bc Mon Sep 17 00:00:00 2001 From: George Politis Date: Mon, 5 Mar 2018 11:12:39 -0600 Subject: [PATCH] feat: Whitelists the gatherStats option. (#2561) * feat: Whitelists the gatherStats option. * doc: Replaces obsolete disableStats option with gatherStats. --- config.js | 7 +++++-- react/features/base/config/functions.js | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 1c4190425..f2e208452 100644 --- a/config.js +++ b/config.js @@ -245,8 +245,11 @@ var config = { // Stats // - // Whether to enable stats collection or not. - // disableStats: false, + // Whether to enable stats collection or not in the TraceablePeerConnection. + // This can be useful for debugging purposes (post-processing/analysis of + // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth + // estimation tests. + // gatherStats: false, // To enable sending statistics to callstats.io you must provide the // Application ID and Secret. diff --git a/react/features/base/config/functions.js b/react/features/base/config/functions.js index c77c7f295..55413a272 100644 --- a/react/features/base/config/functions.js +++ b/react/features/base/config/functions.js @@ -64,6 +64,7 @@ const WHITELISTED_KEYS = [ 'failICE', 'firefox_fake_device', 'forceJVB121Ratio', + 'gatherStats', 'hiddenDomain', 'hosts', 'iAmRecorder',