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 6.8KB

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