您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

configWhitelist.ts 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. 'deeplinking.disabled',
  76. 'deeplinking.desktop.enabled',
  77. 'defaultLocalDisplayName',
  78. 'defaultRemoteDisplayName',
  79. 'desktopSharingFrameRate',
  80. 'desktopSharingSources',
  81. 'disable1On1Mode',
  82. 'disableAEC',
  83. 'disableAGC',
  84. 'disableAP',
  85. 'disableAddingBackgroundImages',
  86. 'disableAudioLevels',
  87. 'disableBeforeUnloadHandlers',
  88. 'disableChatSmileys',
  89. 'disableDeepLinking',
  90. 'disabledNotifications',
  91. 'disabledSounds',
  92. 'disableFilmstripAutohiding',
  93. 'disableInitialGUM',
  94. 'disableHPF',
  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. 'enableAutomaticUrlCopy',
  144. 'faceLandmarks',
  145. 'failICE',
  146. 'feedbackPercentage',
  147. 'fileRecordingsEnabled',
  148. 'filmstrip',
  149. 'firefox_fake_device',
  150. 'flags',
  151. 'forceTurnRelay',
  152. 'gatherStats',
  153. 'giphy',
  154. 'googleApiApplicationClientID',
  155. 'gravatar.disabled',
  156. 'hiddenPremeetingButtons',
  157. 'hideConferenceSubject',
  158. 'hideDisplayName',
  159. 'hideDominantSpeakerBadge',
  160. 'hideRecordingLabel',
  161. 'hideParticipantsStats',
  162. 'hideConferenceTimer',
  163. 'hideAddRoomButton',
  164. 'hideEmailInSettings',
  165. 'hideLobbyButton',
  166. 'iAmRecorder',
  167. 'iAmSipGateway',
  168. 'ignoreStartMuted',
  169. 'inviteAppName',
  170. 'liveStreaming.enabled',
  171. 'liveStreamingEnabled',
  172. 'lobby',
  173. 'localRecording',
  174. 'localSubject',
  175. 'logging',
  176. 'mainToolbarButtons',
  177. 'maxFullResolutionParticipants',
  178. 'mouseMoveCallbackInterval',
  179. 'notifications',
  180. 'notificationTimeouts',
  181. 'openSharedDocumentOnJoin',
  182. 'opusMaxAverageBitrate',
  183. 'p2p.backToP2PDelay',
  184. 'p2p.codecPreferenceOrder',
  185. 'p2p.enabled',
  186. 'p2p.iceTransportPolicy',
  187. 'p2p.mobileCodecPreferenceOrder',
  188. 'p2p.mobileScreenshareCodec',
  189. 'participantMenuButtonsWithNotifyClick',
  190. 'participantsPane',
  191. 'pcStatsInterval',
  192. 'preferBosh',
  193. 'preferVisitor',
  194. 'prejoinConfig.enabled',
  195. 'prejoinConfig.hideDisplayName',
  196. 'prejoinConfig.hideExtraJoinButtons',
  197. 'prejoinPageEnabled',
  198. 'raisedHands',
  199. 'recordingService',
  200. 'requireDisplayName',
  201. 'remoteVideoMenu',
  202. 'roomPasswordNumberOfDigits',
  203. 'readOnlyName',
  204. 'recordings',
  205. 'replaceParticipant',
  206. 'resolution',
  207. 'screenshotCapture',
  208. 'securityUi',
  209. 'speakerStats',
  210. 'startAudioMuted',
  211. 'startAudioOnly',
  212. 'startLastN',
  213. 'startScreenSharing',
  214. 'startSilent',
  215. 'startVideoMuted',
  216. 'startWithAudioMuted',
  217. 'startWithVideoMuted',
  218. 'stereo',
  219. 'subject',
  220. 'testing',
  221. 'toolbarButtons',
  222. 'toolbarConfig',
  223. 'tileView',
  224. 'transcribingEnabled',
  225. 'transcription',
  226. 'useHostPageLocalStorage',
  227. 'useTurnUdp',
  228. 'videoQuality',
  229. 'visitors.enableMediaOnPromote',
  230. 'watchRTCConfigParams.console',
  231. 'watchRTCConfigParams.allowBrowserLogCollection',
  232. 'watchRTCConfigParams.collectionInterval',
  233. 'watchRTCConfigParams.debug',
  234. 'watchRTCConfigParams.keys',
  235. 'watchRTCConfigParams.logGetStats',
  236. 'watchRTCConfigParams.rtcApiKey',
  237. 'watchRTCConfigParams.rtcPeerId',
  238. 'watchRTCConfigParams.rtcRoomId',
  239. 'watchRTCConfigParams.rtcTags',
  240. 'watchRTCConfigParams.rtcToken',
  241. 'webrtcIceTcpDisable',
  242. 'webrtcIceUdpDisable',
  243. 'whiteboard.enabled'
  244. ].concat(extraConfigWhitelist);