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 16KB

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