Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

configWhitelist.ts 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. 'disableInviteFunctions',
  95. 'disableIncomingMessageSound',
  96. 'disableJoinLeaveSounds',
  97. 'disableLocalVideoFlip',
  98. 'disableModeratorIndicator',
  99. 'disableNS',
  100. 'disablePolls',
  101. 'disableProfile',
  102. 'disableReactions',
  103. 'disableReactionsModeration',
  104. 'disableRecordAudioNotification',
  105. 'disableRemoteControl',
  106. 'disableRemoteMute',
  107. 'disableResponsiveTiles',
  108. 'disableRtx',
  109. 'disableSelfDemote',
  110. 'disableSelfView',
  111. 'disableSelfViewSettings',
  112. 'disableShortcuts',
  113. 'disableShowMoreStats',
  114. 'disableRemoveRaisedHandOnFocus',
  115. 'disableSpeakerStatsSearch',
  116. 'speakerStatsOrder',
  117. 'disableSimulcast',
  118. 'disableThirdPartyRequests',
  119. 'disableTileView',
  120. 'disableTileEnlargement',
  121. 'disableVirtualBackground',
  122. 'displayJids',
  123. 'doNotStoreRoom',
  124. 'doNotFlipLocalVideo',
  125. 'dropbox.appKey',
  126. 'e2eeLabels',
  127. 'e2ee',
  128. 'e2eping',
  129. 'enableCalendarIntegration',
  130. 'enableDisplayNameInStats',
  131. 'enableEmailInStats',
  132. 'enableEncodedTransformSupport',
  133. 'enableInsecureRoomNameWarning',
  134. 'enableLobbyChat',
  135. 'enableOpusRed',
  136. 'enableRemb',
  137. 'enableSaveLogs',
  138. 'enableTalkWhileMuted',
  139. 'enableNoAudioDetection',
  140. 'enableNoisyMicDetection',
  141. 'enableTcc',
  142. 'faceLandmarks',
  143. 'feedbackPercentage',
  144. 'filmstrip',
  145. 'flags',
  146. 'forceTurnRelay',
  147. 'gatherStats',
  148. 'giphy',
  149. 'googleApiApplicationClientID',
  150. 'gravatar.disabled',
  151. 'hiddenPremeetingButtons',
  152. 'hideConferenceSubject',
  153. 'hideDisplayName',
  154. 'hideDominantSpeakerBadge',
  155. 'hideRecordingLabel',
  156. 'hideParticipantsStats',
  157. 'hideConferenceTimer',
  158. 'hideAddRoomButton',
  159. 'hideEmailInSettings',
  160. 'hideLobbyButton',
  161. 'iAmRecorder',
  162. 'iAmSipGateway',
  163. 'ignoreStartMuted',
  164. 'inviteAppName',
  165. 'liveStreaming.enabled',
  166. 'liveStreamingEnabled',
  167. 'lobby',
  168. 'localRecording',
  169. 'localSubject',
  170. 'logging',
  171. 'mainToolbarButtons',
  172. 'maxFullResolutionParticipants',
  173. 'mouseMoveCallbackInterval',
  174. 'notifications',
  175. 'notificationTimeouts',
  176. 'openSharedDocumentOnJoin',
  177. 'opusMaxAverageBitrate',
  178. 'p2p.backToP2PDelay',
  179. 'p2p.codecPreferenceOrder',
  180. 'p2p.enabled',
  181. 'p2p.iceTransportPolicy',
  182. 'p2p.mobileCodecPreferenceOrder',
  183. 'p2p.mobileScreenshareCodec',
  184. 'participantMenuButtonsWithNotifyClick',
  185. 'participantsPane',
  186. 'pcStatsInterval',
  187. 'preferBosh',
  188. 'preferVisitor',
  189. 'prejoinConfig.enabled',
  190. 'prejoinConfig.hideDisplayName',
  191. 'prejoinConfig.hideExtraJoinButtons',
  192. 'prejoinPageEnabled',
  193. 'raisedHands',
  194. 'recordingService',
  195. 'requireDisplayName',
  196. 'remoteVideoMenu',
  197. 'roomPasswordNumberOfDigits',
  198. 'readOnlyName',
  199. 'recordings',
  200. 'replaceParticipant',
  201. 'resolution',
  202. 'screenshotCapture',
  203. 'securityUi',
  204. 'speakerStats',
  205. 'startAudioMuted',
  206. 'startAudioOnly',
  207. 'startLastN',
  208. 'startScreenSharing',
  209. 'startSilent',
  210. 'startVideoMuted',
  211. 'startWithAudioMuted',
  212. 'startWithVideoMuted',
  213. 'stereo',
  214. 'subject',
  215. 'testing',
  216. 'toolbarButtons',
  217. 'toolbarConfig',
  218. 'tileView',
  219. 'transcribingEnabled',
  220. 'transcription',
  221. 'useHostPageLocalStorage',
  222. 'useTurnUdp',
  223. 'videoQuality',
  224. 'visitors.enableMediaOnPromote',
  225. 'watchRTCConfigParams.console',
  226. 'watchRTCConfigParams.allowBrowserLogCollection',
  227. 'watchRTCConfigParams.collectionInterval',
  228. 'watchRTCConfigParams.debug',
  229. 'watchRTCConfigParams.keys',
  230. 'watchRTCConfigParams.logGetStats',
  231. 'watchRTCConfigParams.rtcApiKey',
  232. 'watchRTCConfigParams.rtcPeerId',
  233. 'watchRTCConfigParams.rtcRoomId',
  234. 'watchRTCConfigParams.rtcTags',
  235. 'watchRTCConfigParams.rtcToken',
  236. 'webrtcIceTcpDisable',
  237. 'webrtcIceUdpDisable',
  238. 'whiteboard.enabled'
  239. ].concat(extraConfigWhitelist);