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.

config.js 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. /* eslint-disable no-unused-vars, no-var */
  2. var config = {
  3. // Configuration
  4. //
  5. // Alternative location for the configuration.
  6. // configLocation: './config.json',
  7. // Custom function which given the URL path should return a room name.
  8. // getroomnode: function (path) { return 'someprefixpossiblybasedonpath'; },
  9. // Connection
  10. //
  11. hosts: {
  12. // XMPP domain.
  13. domain: 'jitsi-meet.example.com',
  14. // XMPP MUC domain. FIXME: use XEP-0030 to discover it.
  15. muc: 'conference.jitsi-meet.example.com'
  16. // When using authentication, domain for guest users.
  17. // anonymousdomain: 'guest.example.com',
  18. // Domain for authenticated users. Defaults to <domain>.
  19. // authdomain: 'jitsi-meet.example.com',
  20. // Jirecon recording component domain.
  21. // jirecon: 'jirecon.jitsi-meet.example.com',
  22. // Call control component (Jigasi).
  23. // call_control: 'callcontrol.jitsi-meet.example.com',
  24. // Focus component domain. Defaults to focus.<domain>.
  25. // focus: 'focus.jitsi-meet.example.com',
  26. },
  27. // BOSH URL. FIXME: use XEP-0156 to discover it.
  28. bosh: '//jitsi-meet.example.com/http-bind',
  29. // The name of client node advertised in XEP-0115 'c' stanza
  30. clientNode: 'http://jitsi.org/jitsimeet',
  31. // The real JID of focus participant - can be overridden here
  32. // focusUserJid: 'focus@auth.jitsi-meet.example.com',
  33. // Testing / experimental features.
  34. //
  35. testing: {
  36. // Enables experimental simulcast support on Firefox.
  37. enableFirefoxSimulcast: false,
  38. // P2P test mode disables automatic switching to P2P when there are 2
  39. // participants in the conference.
  40. p2pTestMode: false
  41. // Enables the test specific features consumed by jitsi-meet-torture
  42. // testMode: false
  43. },
  44. // Disables ICE/UDP by filtering out local and remote UDP candidates in
  45. // signalling.
  46. // webrtcIceUdpDisable: false,
  47. // Disables ICE/TCP by filtering out local and remote TCP candidates in
  48. // signalling.
  49. // webrtcIceTcpDisable: false,
  50. // Media
  51. //
  52. // Audio
  53. // Disable measuring of audio levels.
  54. // disableAudioLevels: false,
  55. // Start the conference in audio only mode (no video is being received nor
  56. // sent).
  57. // startAudioOnly: false,
  58. // Every participant after the Nth will start audio muted.
  59. // startAudioMuted: 10,
  60. // Start calls with audio muted. Unlike the option above, this one is only
  61. // applied locally. FIXME: having these 2 options is confusing.
  62. // startWithAudioMuted: false,
  63. // Video
  64. // Sets the preferred resolution (height) for local video. Defaults to 720.
  65. // resolution: 720,
  66. // w3c spec-compliant video constraints to use for video capture. Currently
  67. // used by browsers that return true from lib-jitsi-meet's
  68. // util#browser#usesNewGumFlow. The constraints are independency from
  69. // this config's resolution value. Defaults to requesting an ideal aspect
  70. // ratio of 16:9 with an ideal resolution of 720.
  71. // constraints: {
  72. // video: {
  73. // aspectRatio: 16 / 9,
  74. // height: {
  75. // ideal: 720,
  76. // max: 720,
  77. // min: 240
  78. // }
  79. // }
  80. // },
  81. // Enable / disable simulcast support.
  82. // disableSimulcast: false,
  83. // Enable / disable layer suspension. If enabled, endpoints whose HD
  84. // layers are not in use will be suspended (no longer sent) until they
  85. // are requested again.
  86. // enableLayerSuspension: false,
  87. // Suspend sending video if bandwidth estimation is too low. This may cause
  88. // problems with audio playback. Disabled until these are fixed.
  89. disableSuspendVideo: true,
  90. // Every participant after the Nth will start video muted.
  91. // startVideoMuted: 10,
  92. // Start calls with video muted. Unlike the option above, this one is only
  93. // applied locally. FIXME: having these 2 options is confusing.
  94. // startWithVideoMuted: false,
  95. // If set to true, prefer to use the H.264 video codec (if supported).
  96. // Note that it's not recommended to do this because simulcast is not
  97. // supported when using H.264. For 1-to-1 calls this setting is enabled by
  98. // default and can be toggled in the p2p section.
  99. // preferH264: true,
  100. // If set to true, disable H.264 video codec by stripping it out of the
  101. // SDP.
  102. // disableH264: false,
  103. // Desktop sharing
  104. // The ID of the jidesha extension for Chrome.
  105. desktopSharingChromeExtId: null,
  106. // Whether desktop sharing should be disabled on Chrome.
  107. desktopSharingChromeDisabled: true,
  108. // The media sources to use when using screen sharing with the Chrome
  109. // extension.
  110. desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
  111. // Required version of Chrome extension
  112. desktopSharingChromeMinExtVersion: '0.1',
  113. // Whether desktop sharing should be disabled on Firefox.
  114. desktopSharingFirefoxDisabled: false,
  115. // Optional desktop sharing frame rate options. Default value: min:5, max:5.
  116. // desktopSharingFrameRate: {
  117. // min: 5,
  118. // max: 5
  119. // },
  120. // Try to start calls with screen-sharing instead of camera video.
  121. // startScreenSharing: false,
  122. // Recording
  123. // Whether to enable file recording or not.
  124. // fileRecordingsEnabled: false,
  125. // Enable the dropbox integration.
  126. // dropbox: {
  127. // appKey: '<APP_KEY>' // Specify your app key here.
  128. // },
  129. // Whether to enable live streaming or not.
  130. // liveStreamingEnabled: false,
  131. // Transcription (in interface_config,
  132. // subtitles and buttons can be configured)
  133. // transcribingEnabled: false,
  134. // Misc
  135. // Default value for the channel "last N" attribute. -1 for unlimited.
  136. channelLastN: -1,
  137. // Disables or enables RTX (RFC 4588) (defaults to false).
  138. // disableRtx: false,
  139. // Disables or enables TCC (the default is in Jicofo and set to true)
  140. // (draft-holmer-rmcat-transport-wide-cc-extensions-01). This setting
  141. // affects congestion control, it practically enables send-side bandwidth
  142. // estimations.
  143. // enableTcc: true,
  144. // Disables or enables REMB (the default is in Jicofo and set to false)
  145. // (draft-alvestrand-rmcat-remb-03). This setting affects congestion
  146. // control, it practically enables recv-side bandwidth estimations. When
  147. // both TCC and REMB are enabled, TCC takes precedence. When both are
  148. // disabled, then bandwidth estimations are disabled.
  149. // enableRemb: false,
  150. // Defines the minimum number of participants to start a call (the default
  151. // is set in Jicofo and set to 2).
  152. // minParticipants: 2,
  153. // Use XEP-0215 to fetch STUN and TURN servers.
  154. // useStunTurn: true,
  155. // Enable IPv6 support.
  156. // useIPv6: true,
  157. // Enables / disables a data communication channel with the Videobridge.
  158. // Values can be 'datachannel', 'websocket', true (treat it as
  159. // 'datachannel'), undefined (treat it as 'datachannel') and false (don't
  160. // open any channel).
  161. // openBridgeChannel: true,
  162. // UI
  163. //
  164. // Use display name as XMPP nickname.
  165. // useNicks: false,
  166. // Require users to always specify a display name.
  167. // requireDisplayName: true,
  168. // Whether to use a welcome page or not. In case it's false a random room
  169. // will be joined when no room is specified.
  170. enableWelcomePage: true,
  171. // Enabling the close page will ignore the welcome page redirection when
  172. // a call is hangup.
  173. // enableClosePage: false,
  174. // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
  175. // disable1On1Mode: false,
  176. // The minimum value a video's height (or width, whichever is smaller) needs
  177. // to be in order to be considered high-definition.
  178. minHDHeight: 540,
  179. // Default language for the user interface.
  180. // defaultLanguage: 'en',
  181. // If true all users without a token will be considered guests and all users
  182. // with token will be considered non-guests. Only guests will be allowed to
  183. // edit their profile.
  184. enableUserRolesBasedOnToken: false,
  185. // Whether or not some features are checked based on token.
  186. // enableFeaturesBasedOnToken: false,
  187. // Message to show the users. Example: 'The service will be down for
  188. // maintenance at 01:00 AM GMT,
  189. // noticeMessage: '',
  190. // Enables calendar integration, depends on googleApiApplicationClientID
  191. // and microsoftApiApplicationClientID
  192. // enableCalendarIntegration: false,
  193. // Stats
  194. //
  195. // Whether to enable stats collection or not in the TraceablePeerConnection.
  196. // This can be useful for debugging purposes (post-processing/analysis of
  197. // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
  198. // estimation tests.
  199. // gatherStats: false,
  200. // To enable sending statistics to callstats.io you must provide the
  201. // Application ID and Secret.
  202. // callStatsID: '',
  203. // callStatsSecret: '',
  204. // enables callstatsUsername to be reported as statsId and used
  205. // by callstats as repoted remote id
  206. // enableStatsID: false
  207. // enables sending participants display name to callstats
  208. // enableDisplayNameInStats: false
  209. // Privacy
  210. //
  211. // If third party requests are disabled, no other server will be contacted.
  212. // This means avatars will be locally generated and callstats integration
  213. // will not function.
  214. // disableThirdPartyRequests: false,
  215. // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
  216. //
  217. p2p: {
  218. // Enables peer to peer mode. When enabled the system will try to
  219. // establish a direct connection when there are exactly 2 participants
  220. // in the room. If that succeeds the conference will stop sending data
  221. // through the JVB and use the peer to peer connection instead. When a
  222. // 3rd participant joins the conference will be moved back to the JVB
  223. // connection.
  224. enabled: true,
  225. // Use XEP-0215 to fetch STUN and TURN servers.
  226. // useStunTurn: true,
  227. // The STUN servers that will be used in the peer to peer connections
  228. stunServers: [
  229. { urls: 'stun:stun.l.google.com:19302' },
  230. { urls: 'stun:stun1.l.google.com:19302' },
  231. { urls: 'stun:stun2.l.google.com:19302' }
  232. ],
  233. // Sets the ICE transport policy for the p2p connection. At the time
  234. // of this writing the list of possible values are 'all' and 'relay',
  235. // but that is subject to change in the future. The enum is defined in
  236. // the WebRTC standard:
  237. // https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
  238. // If not set, the effective value is 'all'.
  239. // iceTransportPolicy: 'all',
  240. // If set to true, it will prefer to use H.264 for P2P calls (if H.264
  241. // is supported).
  242. preferH264: true
  243. // If set to true, disable H.264 video codec by stripping it out of the
  244. // SDP.
  245. // disableH264: false,
  246. // How long we're going to wait, before going back to P2P after the 3rd
  247. // participant has left the conference (to filter out page reload).
  248. // backToP2PDelay: 5
  249. },
  250. // A list of scripts to load as lib-jitsi-meet "analytics handlers".
  251. // analyticsScriptUrls: [
  252. // "libs/analytics-ga.js", // google-analytics
  253. // "https://example.com/my-custom-analytics.js"
  254. // ],
  255. // The Google Analytics Tracking ID
  256. // googleAnalyticsTrackingId = 'your-tracking-id-here-UA-123456-1',
  257. // Information about the jitsi-meet instance we are connecting to, including
  258. // the user region as seen by the server.
  259. deploymentInfo: {
  260. // shard: "shard1",
  261. // region: "europe",
  262. // userRegion: "asia"
  263. }
  264. // Local Recording
  265. //
  266. // localRecording: {
  267. // Enables local recording.
  268. // Additionally, 'localrecording' (all lowercase) needs to be added to
  269. // TOOLBAR_BUTTONS in interface_config.js for the Local Recording
  270. // button to show up on the toolbar.
  271. //
  272. // enabled: true,
  273. //
  274. // The recording format, can be one of 'ogg', 'flac' or 'wav'.
  275. // format: 'flac'
  276. //
  277. // }
  278. // Options related to end-to-end (participant to participant) ping.
  279. // e2eping: {
  280. // // The interval in milliseconds at which pings will be sent.
  281. // // Defaults to 10000, set to <= 0 to disable.
  282. // pingInterval: 10000,
  283. //
  284. // // The interval in milliseconds at which analytics events
  285. // // with the measured RTT will be sent. Defaults to 60000, set
  286. // // to <= 0 to disable.
  287. // analyticsInterval: 60000,
  288. // }
  289. // List of undocumented settings used in jitsi-meet
  290. /**
  291. _immediateReloadThreshold
  292. autoRecord
  293. autoRecordToken
  294. debug
  295. debugAudioLevels
  296. deploymentInfo
  297. dialInConfCodeUrl
  298. dialInNumbersUrl
  299. dialOutAuthUrl
  300. dialOutCodesUrl
  301. disableRemoteControl
  302. displayJids
  303. enableLocalVideoFlip
  304. etherpad_base
  305. externalConnectUrl
  306. firefox_fake_device
  307. googleApiApplicationClientID
  308. googleApiIOSClientID
  309. iAmRecorder
  310. iAmSipGateway
  311. microsoftApiApplicationClientID
  312. peopleSearchQueryTypes
  313. peopleSearchUrl
  314. requireDisplayName
  315. tokenAuthUrl
  316. */
  317. // List of undocumented settings used in lib-jitsi-meet
  318. /**
  319. _peerConnStatusOutOfLastNTimeout
  320. _peerConnStatusRtcMuteTimeout
  321. abTesting
  322. avgRtpStatsN
  323. callStatsConfIDNamespace
  324. callStatsCustomScriptUrl
  325. desktopSharingSources
  326. disableAEC
  327. disableAGC
  328. disableAP
  329. disableHPF
  330. disableNS
  331. enableLipSync
  332. enableTalkWhileMuted
  333. forceJVB121Ratio
  334. hiddenDomain
  335. ignoreStartMuted
  336. nick
  337. startBitrate
  338. */
  339. };
  340. /* eslint-enable no-unused-vars, no-var */