feat: Whitelist all of videoQualitty, not just "persist". (#10133)
* doc: Clarify documentation. * feat: Whitelist all of videoQualitty, not just "persist".
This commit is contained in:
parent
f83559568d
commit
5344e2bfae
|
@ -2,8 +2,9 @@ import extraConfigWhitelist from './extraConfigWhitelist';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The config keys to whitelist, the keys that can be overridden.
|
* The config keys to whitelist, the keys that can be overridden.
|
||||||
* Currently we can only whitelist the first part of the properties, like
|
* Whitelisting a key allows all properties under that key to be overridden.
|
||||||
* 'p2p.enabled' we whitelist all p2p options.
|
* For example whitelisting 'p2p' allows 'p2p.enabled' to be overridden, and
|
||||||
|
* overriding 'p2p.enabled' does not modify any other keys under 'p2p'.
|
||||||
* The whitelist is used only for config.js.
|
* The whitelist is used only for config.js.
|
||||||
*
|
*
|
||||||
* @type Array
|
* @type Array
|
||||||
|
@ -193,7 +194,7 @@ export default [
|
||||||
'toolbarConfig',
|
'toolbarConfig',
|
||||||
'useHostPageLocalStorage',
|
'useHostPageLocalStorage',
|
||||||
'useTurnUdp',
|
'useTurnUdp',
|
||||||
'videoQuality.persist',
|
'videoQuality',
|
||||||
'webrtcIceTcpDisable',
|
'webrtcIceTcpDisable',
|
||||||
'webrtcIceUdpDisable'
|
'webrtcIceUdpDisable'
|
||||||
].concat(extraConfigWhitelist);
|
].concat(extraConfigWhitelist);
|
||||||
|
|
Loading…
Reference in New Issue