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.js 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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.useStunTurn' and '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. 'autoRecord',
  18. 'autoRecordToken',
  19. 'avgRtpStatsN',
  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. 'debug',
  68. 'debugAudioLevels',
  69. 'defaultLanguage',
  70. 'desktopSharingFrameRate',
  71. 'desktopSharingSources',
  72. 'disable1On1Mode',
  73. 'disableAEC',
  74. 'disableAGC',
  75. 'disableAP',
  76. 'disableAudioLevels',
  77. 'disableDeepLinking',
  78. 'disableH264',
  79. 'disableHPF',
  80. 'disableInviteFunctions',
  81. 'disableLocalVideoFlip',
  82. 'disableNS',
  83. 'disableRemoteControl',
  84. 'disableRemoteMute',
  85. 'disableRtx',
  86. 'disableSimulcast',
  87. 'disableSuspendVideo',
  88. 'disableThirdPartyRequests',
  89. 'displayJids',
  90. 'doNotStoreRoom',
  91. 'e2eping',
  92. 'enableDisplayNameInStats',
  93. 'enableEmailInStats',
  94. 'enableIceRestart',
  95. 'enableInsecureRoomNameWarning',
  96. 'enableLayerSuspension',
  97. 'enableLipSync',
  98. 'enableRemb',
  99. 'enableScreenshotCapture',
  100. 'enableTalkWhileMuted',
  101. 'enableNoAudioDetection',
  102. 'enableNoisyMicDetection',
  103. 'enableTcc',
  104. 'etherpad_base',
  105. 'failICE',
  106. 'feedbackPercentage',
  107. 'fileRecordingsEnabled',
  108. 'firefox_fake_device',
  109. 'forceJVB121Ratio',
  110. 'gatherStats',
  111. 'googleApiApplicationClientID',
  112. 'hiddenDomain',
  113. 'hosts',
  114. 'iAmRecorder',
  115. 'iAmSipGateway',
  116. 'iceTransportPolicy',
  117. 'ignoreStartMuted',
  118. 'liveStreamingEnabled',
  119. 'localRecording',
  120. 'minParticipants',
  121. 'nick',
  122. 'openBridgeChannel',
  123. 'p2p',
  124. 'pcStatsInterval',
  125. 'preferH264',
  126. 'prejoinPageEnabled',
  127. 'requireDisplayName',
  128. 'remoteVideoMenu',
  129. 'resolution',
  130. 'startAudioMuted',
  131. 'startAudioOnly',
  132. 'startBitrate',
  133. 'startScreenSharing',
  134. 'startSilent',
  135. 'startVideoMuted',
  136. 'startWithAudioMuted',
  137. 'startWithVideoMuted',
  138. 'stereo',
  139. 'subject',
  140. 'testing',
  141. 'useStunTurn',
  142. 'useTurnUdp',
  143. 'webrtcIceTcpDisable',
  144. 'webrtcIceUdpDisable'
  145. ].concat(extraConfigWhitelist);