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

configWhitelist.js 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. import extraConfigWhitelist from './extraConfigWhitelist';
  2. /**
  3. * The config keys to whitelist, the keys that can be overridden.
  4. * Currently we can only whitelist the first part of the properties, like
  5. * 'p2p.enabled' we whitelist all p2p options.
  6. * The whitelist is used only for config.js.
  7. *
  8. * @type Array
  9. */
  10. export default [
  11. '_desktopSharingSourceDevice',
  12. '_peerConnStatusOutOfLastNTimeout',
  13. '_peerConnStatusRtcMuteTimeout',
  14. 'abTesting',
  15. 'analytics.disabled',
  16. 'audioLevelsInterval',
  17. 'apiLogLevels',
  18. 'avgRtpStatsN',
  19. 'backgroundAlpha',
  20. /**
  21. * The display name of the CallKit call representing the conference/meeting
  22. * associated with this config.js including while the call is ongoing in the
  23. * UI presented by CallKit and in the system-wide call history. The property
  24. * is meant for use cases in which the room name is not desirable as a
  25. * display name for CallKit purposes and the desired display name is not
  26. * provided in the form of a JWT callee. As the value is associated with a
  27. * conference/meeting, the value makes sense not as a deployment-wide
  28. * configuration, only as a runtime configuration override/overwrite
  29. * provided by, for example, Jitsi Meet SDK for iOS.
  30. *
  31. * @type string
  32. */
  33. 'callDisplayName',
  34. 'callFlowsEnabled',
  35. /**
  36. * The handle
  37. * ({@link https://developer.apple.com/documentation/callkit/cxhandle}) of
  38. * the CallKit call representing the conference/meeting associated with this
  39. * config.js. The property is meant for use cases in which the room URL is
  40. * not desirable as the handle for CallKit purposes. As the value is
  41. * associated with a conference/meeting, the value makes sense not as a
  42. * deployment-wide configuration, only as a runtime configuration
  43. * override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
  44. *
  45. * @type string
  46. */
  47. 'callHandle',
  48. 'callStatsConfIDNamespace',
  49. 'callStatsID',
  50. 'callStatsSecret',
  51. /**
  52. * The UUID of the CallKit call representing the conference/meeting
  53. * associated with this config.js. The property is meant for use cases in
  54. * which Jitsi Meet is to work with a CallKit call created outside of Jitsi
  55. * Meet and to be adopted by Jitsi Meet such as, for example, an incoming
  56. * and/or outgoing CallKit call created by Jitsi Meet SDK for iOS
  57. * clients/consumers prior to giving control to Jitsi Meet. As the value is
  58. * associated with a conference/meeting, the value makes sense not as a
  59. * deployment-wide configuration, only as a runtime configuration
  60. * override/overwrite provided by, for example, Jitsi Meet SDK for iOS.
  61. *
  62. * @type string
  63. */
  64. 'callUUID',
  65. 'channelLastN',
  66. 'constraints',
  67. 'brandingRoomAlias',
  68. 'debug',
  69. 'debugAudioLevels',
  70. 'defaultLanguage',
  71. 'desktopSharingFrameRate',
  72. 'desktopSharingSources',
  73. 'disable1On1Mode',
  74. 'disableAEC',
  75. 'disableAGC',
  76. 'disableAP',
  77. 'disableAudioLevels',
  78. 'disableDeepLinking',
  79. 'disableInitialGUM',
  80. 'disableH264',
  81. 'disableHPF',
  82. 'disableInviteFunctions',
  83. 'disableJoinLeaveSounds',
  84. 'disableLocalVideoFlip',
  85. 'disableNS',
  86. 'disableProfile',
  87. 'disableRemoteControl',
  88. 'disableRemoteMute',
  89. 'disableResponsiveTiles',
  90. 'disableRtx',
  91. 'disableShortcuts',
  92. 'disableSimulcast',
  93. 'disableThirdPartyRequests',
  94. 'disableTileView',
  95. 'displayJids',
  96. 'doNotStoreRoom',
  97. 'doNotFlipLocalVideo',
  98. 'dropbox',
  99. 'e2eping',
  100. 'enableDisplayNameInStats',
  101. 'enableEmailInStats',
  102. 'enableIceRestart',
  103. 'enableInsecureRoomNameWarning',
  104. 'enableLayerSuspension',
  105. 'enableLipSync',
  106. 'enableOpusRed',
  107. 'enableRemb',
  108. 'enableScreenshotCapture',
  109. 'enableTalkWhileMuted',
  110. 'enableNoAudioDetection',
  111. 'enableNoisyMicDetection',
  112. 'enableTcc',
  113. 'enableAutomaticUrlCopy',
  114. 'etherpad_base',
  115. 'failICE',
  116. 'feedbackPercentage',
  117. 'fileRecordingsEnabled',
  118. 'firefox_fake_device',
  119. 'forceJVB121Ratio',
  120. 'forceTurnRelay',
  121. 'gatherStats',
  122. 'googleApiApplicationClientID',
  123. 'hideConferenceSubject',
  124. 'hideParticipantsStats',
  125. 'hideConferenceTimer',
  126. 'hiddenDomain',
  127. 'hideLobbyButton',
  128. 'hosts',
  129. 'iAmRecorder',
  130. 'iAmSipGateway',
  131. 'iceTransportPolicy',
  132. 'ignoreStartMuted',
  133. 'liveStreamingEnabled',
  134. 'localRecording',
  135. 'maxFullResolutionParticipants',
  136. 'notifications',
  137. 'openBridgeChannel',
  138. 'openSharedDocumentOnJoin',
  139. 'opusMaxAverageBitrate',
  140. 'p2p',
  141. 'pcStatsInterval',
  142. 'preferH264',
  143. 'prejoinPageEnabled',
  144. 'requireDisplayName',
  145. 'remoteVideoMenu',
  146. 'roomPasswordNumberOfDigits',
  147. 'resolution',
  148. 'startAudioMuted',
  149. 'startAudioOnly',
  150. 'startScreenSharing',
  151. 'startSilent',
  152. 'startVideoMuted',
  153. 'startWithAudioMuted',
  154. 'startWithVideoMuted',
  155. 'stereo',
  156. 'subject',
  157. 'testing',
  158. 'toolbarButtons',
  159. 'useHostPageLocalStorage',
  160. 'useTurnUdp',
  161. 'videoQuality.persist',
  162. 'webrtcIceTcpDisable',
  163. 'webrtcIceUdpDisable'
  164. ].concat(extraConfigWhitelist);