Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Whitelists the gatherStats option. (#2561)

George Politis1c8b8e031b09
diff --git a/config.js b/config.js
index 1c4190425a..f2e2084524 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 c77c7f2956..55413a272e 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',