|
@@ -2,8 +2,9 @@ import extraConfigWhitelist from './extraConfigWhitelist';
|
2
|
2
|
|
3
|
3
|
/**
|
4
|
4
|
* The config keys to whitelist, the keys that can be overridden.
|
5
|
|
- * Currently we can only whitelist the first part of the properties, like
|
6
|
|
- * 'p2p.enabled' we whitelist all p2p options.
|
|
5
|
+ * Whitelisting a key allows all properties under that key to be overridden.
|
|
6
|
+ * For example whitelisting 'p2p' allows 'p2p.enabled' to be overridden, and
|
|
7
|
+ * overriding 'p2p.enabled' does not modify any other keys under 'p2p'.
|
7
|
8
|
* The whitelist is used only for config.js.
|
8
|
9
|
*
|
9
|
10
|
* @type Array
|
|
@@ -193,7 +194,7 @@ export default [
|
193
|
194
|
'toolbarConfig',
|
194
|
195
|
'useHostPageLocalStorage',
|
195
|
196
|
'useTurnUdp',
|
196
|
|
- 'videoQuality.persist',
|
|
197
|
+ 'videoQuality',
|
197
|
198
|
'webrtcIceTcpDisable',
|
198
|
199
|
'webrtcIceUdpDisable'
|
199
|
200
|
].concat(extraConfigWhitelist);
|