feat: Whitelists the gatherStats option. (#2561)

* feat: Whitelists the gatherStats option.

* doc: Replaces obsolete disableStats option with gatherStats.
This commit is contained in:
George Politis 2018-03-05 11:12:39 -06:00 committed by Дамян Минков
parent 796489dc77
commit 1c8b8e031b
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -64,6 +64,7 @@ const WHITELISTED_KEYS = [
'failICE',
'firefox_fake_device',
'forceJVB121Ratio',
'gatherStats',
'hiddenDomain',
'hosts',
'iAmRecorder',