2020-04-01 15:32:13 +00:00
|
|
|
import extraConfigWhitelist from './extraConfigWhitelist';
|
|
|
|
|
2019-09-25 17:49:29 +00:00
|
|
|
/**
|
|
|
|
* The config keys to whitelist, the keys that can be overridden.
|
|
|
|
* Currently we can only whitelist the first part of the properties, like
|
2020-10-02 12:11:10 +00:00
|
|
|
* 'p2p.enabled' we whitelist all p2p options.
|
2019-09-25 17:49:29 +00:00
|
|
|
* The whitelist is used only for config.js.
|
|
|
|
*
|
|
|
|
* @type Array
|
|
|
|
*/
|
|
|
|
export default [
|
|
|
|
'_desktopSharingSourceDevice',
|
|
|
|
'_peerConnStatusOutOfLastNTimeout',
|
|
|
|
'_peerConnStatusRtcMuteTimeout',
|
|
|
|
'abTesting',
|
|
|
|
'analytics.disabled',
|
2020-03-04 21:11:27 +00:00
|
|
|
'audioLevelsInterval',
|
2021-04-13 11:26:07 +00:00
|
|
|
'audioQuality',
|
2020-07-28 07:39:54 +00:00
|
|
|
'apiLogLevels',
|
2019-09-25 17:49:29 +00:00
|
|
|
'avgRtpStatsN',
|
2021-03-23 12:11:11 +00:00
|
|
|
'backgroundAlpha',
|
2019-09-25 17:49:29 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The display name of the CallKit call representing the conference/meeting
|
|
|
|
* associated with this config.js including while the call is ongoing in the
|
|
|
|
* UI presented by CallKit and in the system-wide call history. The property
|
|
|
|
* is meant for use cases in which the room name is not desirable as a
|
|
|
|
* display name for CallKit purposes and the desired display name is not
|
|
|
|
* provided in the form of a JWT callee. As the value is associated with a
|
|
|
|
* conference/meeting, the value makes sense not as a deployment-wide
|
|
|
|
* configuration, only as a runtime configuration override/overwrite
|
|
|
|
* provided by, for example, Jitsi Meet SDK for iOS.
|
|
|
|
*
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
'callDisplayName',
|
2019-11-14 22:59:30 +00:00
|
|
|
'callFlowsEnabled',
|
2019-09-25 17:49:29 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The handle
|
|
|
|
* ({@link https://developer.apple.com/documentation/callkit/cxhandle}) of
|
|
|
|
* the CallKit call representing the conference/meeting associated with this
|
|
|
|
* config.js. The property is meant for use cases in which the room URL is
|
|
|
|
* not desirable as the handle for CallKit purposes. As the value is
|
|
|
|
* associated with a conference/meeting, the value makes sense not as a
|
|
|
|
* deployment-wide configuration, only as a runtime configuration
|
|
|
|
* override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
|
|
|
|
*
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
'callHandle',
|
2019-11-14 22:59:30 +00:00
|
|
|
'callStatsConfIDNamespace',
|
|
|
|
'callStatsID',
|
|
|
|
'callStatsSecret',
|
2019-09-25 17:49:29 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The UUID of the CallKit call representing the conference/meeting
|
|
|
|
* associated with this config.js. The property is meant for use cases in
|
|
|
|
* which Jitsi Meet is to work with a CallKit call created outside of Jitsi
|
|
|
|
* Meet and to be adopted by Jitsi Meet such as, for example, an incoming
|
|
|
|
* and/or outgoing CallKit call created by Jitsi Meet SDK for iOS
|
|
|
|
* clients/consumers prior to giving control to Jitsi Meet. As the value is
|
|
|
|
* associated with a conference/meeting, the value makes sense not as a
|
|
|
|
* deployment-wide configuration, only as a runtime configuration
|
|
|
|
* override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
|
|
|
|
*
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
'callUUID',
|
|
|
|
|
|
|
|
'channelLastN',
|
|
|
|
'constraints',
|
2020-08-20 07:25:12 +00:00
|
|
|
'brandingRoomAlias',
|
2019-09-25 17:49:29 +00:00
|
|
|
'debug',
|
|
|
|
'debugAudioLevels',
|
|
|
|
'defaultLanguage',
|
2019-11-14 22:59:30 +00:00
|
|
|
'desktopSharingFrameRate',
|
2019-09-25 17:49:29 +00:00
|
|
|
'desktopSharingSources',
|
|
|
|
'disable1On1Mode',
|
|
|
|
'disableAEC',
|
|
|
|
'disableAGC',
|
|
|
|
'disableAP',
|
|
|
|
'disableAudioLevels',
|
|
|
|
'disableDeepLinking',
|
2021-01-11 11:16:49 +00:00
|
|
|
'disableInitialGUM',
|
2019-09-25 17:49:29 +00:00
|
|
|
'disableH264',
|
|
|
|
'disableHPF',
|
2020-04-09 13:26:19 +00:00
|
|
|
'disableInviteFunctions',
|
2021-03-22 16:28:34 +00:00
|
|
|
'disableJoinLeaveSounds',
|
2019-11-14 22:59:30 +00:00
|
|
|
'disableLocalVideoFlip',
|
2019-09-25 17:49:29 +00:00
|
|
|
'disableNS',
|
2020-11-05 17:35:03 +00:00
|
|
|
'disableProfile',
|
2019-09-25 17:49:29 +00:00
|
|
|
'disableRemoteControl',
|
2020-03-25 21:28:31 +00:00
|
|
|
'disableRemoteMute',
|
2021-01-26 08:33:31 +00:00
|
|
|
'disableResponsiveTiles',
|
2019-09-25 17:49:29 +00:00
|
|
|
'disableRtx',
|
2021-01-13 10:10:27 +00:00
|
|
|
'disableShortcuts',
|
2020-04-11 08:10:16 +00:00
|
|
|
'disableSimulcast',
|
2020-03-28 19:23:00 +00:00
|
|
|
'disableThirdPartyRequests',
|
2021-01-07 12:34:22 +00:00
|
|
|
'disableTileView',
|
2019-09-25 17:49:29 +00:00
|
|
|
'displayJids',
|
2020-04-09 13:26:19 +00:00
|
|
|
'doNotStoreRoom',
|
2021-03-17 13:21:19 +00:00
|
|
|
'doNotFlipLocalVideo',
|
2021-01-29 09:44:16 +00:00
|
|
|
'dropbox',
|
2019-09-25 17:49:29 +00:00
|
|
|
'e2eping',
|
|
|
|
'enableDisplayNameInStats',
|
2019-11-12 13:37:54 +00:00
|
|
|
'enableEmailInStats',
|
2020-05-07 11:59:37 +00:00
|
|
|
'enableIceRestart',
|
2020-06-11 08:16:26 +00:00
|
|
|
'enableInsecureRoomNameWarning',
|
2019-09-25 17:49:29 +00:00
|
|
|
'enableLayerSuspension',
|
|
|
|
'enableLipSync',
|
2020-08-31 21:20:06 +00:00
|
|
|
'enableOpusRed',
|
2019-09-25 17:49:29 +00:00
|
|
|
'enableRemb',
|
2020-02-05 21:18:53 +00:00
|
|
|
'enableScreenshotCapture',
|
2019-09-25 17:49:29 +00:00
|
|
|
'enableTalkWhileMuted',
|
2020-01-23 13:51:56 +00:00
|
|
|
'enableNoAudioDetection',
|
|
|
|
'enableNoisyMicDetection',
|
2019-09-25 17:49:29 +00:00
|
|
|
'enableTcc',
|
2020-08-30 14:36:52 +00:00
|
|
|
'enableAutomaticUrlCopy',
|
2019-09-25 17:49:29 +00:00
|
|
|
'etherpad_base',
|
|
|
|
'failICE',
|
2020-02-12 09:20:59 +00:00
|
|
|
'feedbackPercentage',
|
2019-09-25 17:49:29 +00:00
|
|
|
'fileRecordingsEnabled',
|
|
|
|
'firefox_fake_device',
|
|
|
|
'forceJVB121Ratio',
|
2020-12-07 22:47:38 +00:00
|
|
|
'forceTurnRelay',
|
2019-09-25 17:49:29 +00:00
|
|
|
'gatherStats',
|
|
|
|
'googleApiApplicationClientID',
|
2021-01-07 13:31:53 +00:00
|
|
|
'hideConferenceSubject',
|
|
|
|
'hideParticipantsStats',
|
2020-12-03 21:49:08 +00:00
|
|
|
'hideConferenceTimer',
|
2019-09-25 17:49:29 +00:00
|
|
|
'hiddenDomain',
|
2020-09-02 16:43:31 +00:00
|
|
|
'hideLobbyButton',
|
2019-09-25 17:49:29 +00:00
|
|
|
'hosts',
|
|
|
|
'iAmRecorder',
|
|
|
|
'iAmSipGateway',
|
|
|
|
'iceTransportPolicy',
|
|
|
|
'ignoreStartMuted',
|
|
|
|
'liveStreamingEnabled',
|
|
|
|
'localRecording',
|
2020-08-05 15:10:14 +00:00
|
|
|
'maxFullResolutionParticipants',
|
2021-01-11 10:52:52 +00:00
|
|
|
'notifications',
|
2019-09-25 17:49:29 +00:00
|
|
|
'openBridgeChannel',
|
2020-12-16 16:10:12 +00:00
|
|
|
'openSharedDocumentOnJoin',
|
2020-07-23 08:54:22 +00:00
|
|
|
'opusMaxAverageBitrate',
|
2019-09-25 17:49:29 +00:00
|
|
|
'p2p',
|
2020-03-04 21:11:27 +00:00
|
|
|
'pcStatsInterval',
|
2019-09-25 17:49:29 +00:00
|
|
|
'preferH264',
|
2020-04-16 10:47:10 +00:00
|
|
|
'prejoinPageEnabled',
|
2019-09-25 17:49:29 +00:00
|
|
|
'requireDisplayName',
|
2020-03-25 21:28:31 +00:00
|
|
|
'remoteVideoMenu',
|
2020-07-22 08:38:33 +00:00
|
|
|
'roomPasswordNumberOfDigits',
|
2019-09-25 17:49:29 +00:00
|
|
|
'resolution',
|
|
|
|
'startAudioMuted',
|
|
|
|
'startAudioOnly',
|
|
|
|
'startScreenSharing',
|
2019-11-14 22:59:30 +00:00
|
|
|
'startSilent',
|
2019-09-25 17:49:29 +00:00
|
|
|
'startVideoMuted',
|
2019-11-01 13:11:49 +00:00
|
|
|
'startWithAudioMuted',
|
2019-09-25 17:49:29 +00:00
|
|
|
'startWithVideoMuted',
|
2019-11-14 22:50:27 +00:00
|
|
|
'stereo',
|
2019-09-25 17:49:29 +00:00
|
|
|
'subject',
|
|
|
|
'testing',
|
2021-03-10 15:39:35 +00:00
|
|
|
'toolbarButtons',
|
2021-03-08 21:36:51 +00:00
|
|
|
'useHostPageLocalStorage',
|
2020-06-16 17:29:11 +00:00
|
|
|
'useTurnUdp',
|
2020-09-03 22:40:54 +00:00
|
|
|
'videoQuality.persist',
|
2019-09-25 17:49:29 +00:00
|
|
|
'webrtcIceTcpDisable',
|
|
|
|
'webrtcIceUdpDisable'
|
2020-04-01 15:32:13 +00:00
|
|
|
].concat(extraConfigWhitelist);
|