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.3KB

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