You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configWhitelist.ts 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. import extraConfigWhitelist from './extraConfigWhitelist';
  2. /**
  3. * The config keys to whitelist, the keys that can be overridden.
  4. * Whitelisting a key allows all properties under that key to be overridden.
  5. * For example whitelisting 'p2p' allows 'p2p.enabled' to be overridden, and
  6. * overriding 'p2p.enabled' does not modify any other keys under 'p2p'.
  7. * The whitelist is used only for config.js.
  8. *
  9. * @type Array
  10. */
  11. export default [
  12. '_desktopSharingSourceDevice',
  13. '_peerConnStatusOutOfLastNTimeout',
  14. '_peerConnStatusRtcMuteTimeout',
  15. 'analytics.disabled',
  16. 'analytics.rtcstatsEnabled',
  17. 'analytics.watchRTCEnabled',
  18. 'audioLevelsInterval',
  19. 'audioQuality',
  20. 'autoKnockLobby',
  21. 'apiLogLevels',
  22. 'avgRtpStatsN',
  23. 'backgroundAlpha',
  24. 'breakoutRooms',
  25. 'bridgeChannel',
  26. 'buttonsWithNotifyClick',
  27. /**
  28. * The display name of the CallKit call representing the conference/meeting
  29. * associated with this config.js including while the call is ongoing in the
  30. * UI presented by CallKit and in the system-wide call history. The property
  31. * is meant for use cases in which the room name is not desirable as a
  32. * display name for CallKit purposes and the desired display name is not
  33. * provided in the form of a JWT callee. As the value is associated with a
  34. * conference/meeting, the value makes sense not as a deployment-wide
  35. * configuration, only as a runtime configuration override/overwrite
  36. * provided by, for example, Jitsi Meet SDK for iOS.
  37. *
  38. * @type string
  39. */
  40. 'callDisplayName',
  41. 'callFlowsEnabled',
  42. /**
  43. * The handle
  44. * ({@link https://developer.apple.com/documentation/callkit/cxhandle}) of
  45. * the CallKit call representing the conference/meeting associated with this
  46. * config.js. The property is meant for use cases in which the room URL is
  47. * not desirable as the handle for CallKit purposes. As the value is
  48. * associated with a conference/meeting, the value makes sense not as a
  49. * deployment-wide configuration, only as a runtime configuration
  50. * override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
  51. *
  52. * @type string
  53. */
  54. 'callHandle',
  55. /**
  56. * The UUID of the CallKit call representing the conference/meeting
  57. * associated with this config.js. The property is meant for use cases in
  58. * which Jitsi Meet is to work with a CallKit call created outside of Jitsi
  59. * Meet and to be adopted by Jitsi Meet such as, for example, an incoming
  60. * and/or outgoing CallKit call created by Jitsi Meet SDK for iOS
  61. * clients/consumers prior to giving control to Jitsi Meet. As the value is
  62. * associated with a conference/meeting, the value makes sense not as a
  63. * deployment-wide configuration, only as a runtime configuration
  64. * override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
  65. *
  66. * @type string
  67. */
  68. 'callUUID',
  69. 'cameraFacingMode',
  70. 'conferenceInfo',
  71. 'channelLastN',
  72. 'connectionIndicators',
  73. 'constraints',
  74. 'brandingRoomAlias',
  75. 'debug',
  76. 'debugAudioLevels',
  77. 'deeplinking.disabled',
  78. 'deeplinking.desktop.enabled',
  79. 'defaultLocalDisplayName',
  80. 'defaultRemoteDisplayName',
  81. 'desktopSharingFrameRate',
  82. 'desktopSharingSources',
  83. 'disable1On1Mode',
  84. 'disableAEC',
  85. 'disableAGC',
  86. 'disableAP',
  87. 'disableAddingBackgroundImages',
  88. 'disableAudioLevels',
  89. 'disableBeforeUnloadHandlers',
  90. 'disableChatSmileys',
  91. 'disableDeepLinking',
  92. 'disabledNotifications',
  93. 'disabledSounds',
  94. 'disableFilmstripAutohiding',
  95. 'disableInitialGUM',
  96. 'disableHPF',
  97. 'disableInviteFunctions',
  98. 'disableIncomingMessageSound',
  99. 'disableJoinLeaveSounds',
  100. 'disableLocalVideoFlip',
  101. 'disableModeratorIndicator',
  102. 'disableNS',
  103. 'disablePolls',
  104. 'disableProfile',
  105. 'disableReactions',
  106. 'disableReactionsModeration',
  107. 'disableRecordAudioNotification',
  108. 'disableRemoteControl',
  109. 'disableRemoteMute',
  110. 'disableResponsiveTiles',
  111. 'disableRtx',
  112. 'disableSelfDemote',
  113. 'disableSelfView',
  114. 'disableSelfViewSettings',
  115. 'disableShortcuts',
  116. 'disableShowMoreStats',
  117. 'disableRemoveRaisedHandOnFocus',
  118. 'disableSpeakerStatsSearch',
  119. 'speakerStatsOrder',
  120. 'disableSimulcast',
  121. 'disableThirdPartyRequests',
  122. 'disableTileView',
  123. 'disableTileEnlargement',
  124. 'disableVirtualBackground',
  125. 'displayJids',
  126. 'doNotStoreRoom',
  127. 'doNotFlipLocalVideo',
  128. 'dropbox.appKey',
  129. 'e2eeLabels',
  130. 'e2ee',
  131. 'e2eping',
  132. 'enableCalendarIntegration',
  133. 'enableDisplayNameInStats',
  134. 'enableEmailInStats',
  135. 'enableEncodedTransformSupport',
  136. 'enableInsecureRoomNameWarning',
  137. 'enableLobbyChat',
  138. 'enableOpusRed',
  139. 'enableRemb',
  140. 'enableSaveLogs',
  141. 'enableTalkWhileMuted',
  142. 'enableNoAudioDetection',
  143. 'enableNoisyMicDetection',
  144. 'enableTcc',
  145. 'enableAutomaticUrlCopy',
  146. 'faceLandmarks',
  147. 'failICE',
  148. 'feedbackPercentage',
  149. 'fileRecordingsEnabled',
  150. 'filmstrip',
  151. 'firefox_fake_device',
  152. 'flags',
  153. 'forceTurnRelay',
  154. 'gatherStats',
  155. 'giphy',
  156. 'googleApiApplicationClientID',
  157. 'gravatar.disabled',
  158. 'hiddenPremeetingButtons',
  159. 'hideConferenceSubject',
  160. 'hideDisplayName',
  161. 'hideDominantSpeakerBadge',
  162. 'hideRecordingLabel',
  163. 'hideParticipantsStats',
  164. 'hideConferenceTimer',
  165. 'hideAddRoomButton',
  166. 'hideEmailInSettings',
  167. 'hideLobbyButton',
  168. 'iAmRecorder',
  169. 'iAmSipGateway',
  170. 'ignoreStartMuted',
  171. 'inviteAppName',
  172. 'liveStreaming.enabled',
  173. 'liveStreamingEnabled',
  174. 'lobby',
  175. 'localRecording',
  176. 'localSubject',
  177. 'logging',
  178. 'mainToolbarButtons',
  179. 'maxFullResolutionParticipants',
  180. 'mouseMoveCallbackInterval',
  181. 'notifications',
  182. 'notificationTimeouts',
  183. 'openSharedDocumentOnJoin',
  184. 'opusMaxAverageBitrate',
  185. 'p2p.backToP2PDelay',
  186. 'p2p.codecPreferenceOrder',
  187. 'p2p.enabled',
  188. 'p2p.iceTransportPolicy',
  189. 'p2p.mobileCodecPreferenceOrder',
  190. 'participantMenuButtonsWithNotifyClick',
  191. 'participantsPane',
  192. 'pcStatsInterval',
  193. 'preferBosh',
  194. 'preferVisitor',
  195. 'prejoinConfig.enabled',
  196. 'prejoinConfig.hideDisplayName',
  197. 'prejoinConfig.hideExtraJoinButtons',
  198. 'prejoinPageEnabled',
  199. 'raisedHands',
  200. 'recordingService',
  201. 'requireDisplayName',
  202. 'remoteVideoMenu',
  203. 'roomPasswordNumberOfDigits',
  204. 'readOnlyName',
  205. 'recordings',
  206. 'replaceParticipant',
  207. 'resolution',
  208. 'screenshotCapture',
  209. 'securityUi',
  210. 'speakerStats',
  211. 'startAudioMuted',
  212. 'startAudioOnly',
  213. 'startLastN',
  214. 'startScreenSharing',
  215. 'startSilent',
  216. 'startVideoMuted',
  217. 'startWithAudioMuted',
  218. 'startWithVideoMuted',
  219. 'stereo',
  220. 'subject',
  221. 'testing',
  222. 'toolbarButtons',
  223. 'toolbarConfig',
  224. 'tileView',
  225. 'transcribingEnabled',
  226. 'transcription',
  227. 'useHostPageLocalStorage',
  228. 'useTurnUdp',
  229. 'videoQuality',
  230. 'visitors',
  231. 'watchRTCConfigParams.console',
  232. 'watchRTCConfigParams.allowBrowserLogCollection',
  233. 'watchRTCConfigParams.collectionInterval',
  234. 'watchRTCConfigParams.debug',
  235. 'watchRTCConfigParams.keys',
  236. 'watchRTCConfigParams.logGetStats',
  237. 'watchRTCConfigParams.rtcApiKey',
  238. 'watchRTCConfigParams.rtcPeerId',
  239. 'watchRTCConfigParams.rtcRoomId',
  240. 'watchRTCConfigParams.rtcTags',
  241. 'watchRTCConfigParams.rtcToken',
  242. 'webrtcIceTcpDisable',
  243. 'webrtcIceUdpDisable',
  244. 'whiteboard.enabled'
  245. ].concat(extraConfigWhitelist);