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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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 1080p.
  71. // constraints: {
  72. // video: {
  73. // aspectRatio: 16 / 9,
  74. // height: {
  75. // ideal: 1080,
  76. // max: 1080,
  77. // min: 240
  78. // }
  79. // }
  80. // },
  81. // Enable / disable simulcast support.
  82. // disableSimulcast: false,
  83. // Suspend sending video if bandwidth estimation is too low. This may cause
  84. // problems with audio playback. Disabled until these are fixed.
  85. disableSuspendVideo: true,
  86. // Every participant after the Nth will start video muted.
  87. // startVideoMuted: 10,
  88. // Start calls with video muted. Unlike the option above, this one is only
  89. // applied locally. FIXME: having these 2 options is confusing.
  90. // startWithVideoMuted: false,
  91. // If set to true, prefer to use the H.264 video codec (if supported).
  92. // Note that it's not recommended to do this because simulcast is not
  93. // supported when using H.264. For 1-to-1 calls this setting is enabled by
  94. // default and can be toggled in the p2p section.
  95. // preferH264: true,
  96. // If set to true, disable H.264 video codec by stripping it out of the
  97. // SDP.
  98. // disableH264: false,
  99. // Desktop sharing
  100. // Enable / disable desktop sharing
  101. // disableDesktopSharing: false,
  102. // The ID of the jidesha extension for Chrome.
  103. desktopSharingChromeExtId: null,
  104. // Whether desktop sharing should be disabled on Chrome.
  105. desktopSharingChromeDisabled: true,
  106. // The media sources to use when using screen sharing with the Chrome
  107. // extension.
  108. desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
  109. // Required version of Chrome extension
  110. desktopSharingChromeMinExtVersion: '0.1',
  111. // Whether desktop sharing should be disabled on Firefox.
  112. desktopSharingFirefoxDisabled: false,
  113. // Optional desktop sharing frame rate options. Default value: min:5, max:5.
  114. // desktopSharingFrameRate: {
  115. // min: 5,
  116. // max: 5
  117. // },
  118. // Try to start calls with screen-sharing instead of camera video.
  119. // startScreenSharing: false,
  120. // Recording
  121. // Whether to enable recording or not.
  122. // enableRecording: false,
  123. // Type for recording: one of jibri or jirecon.
  124. // recordingType: 'jibri',
  125. // Misc
  126. // Default value for the channel "last N" attribute. -1 for unlimited.
  127. channelLastN: -1,
  128. // Disables or enables RTX (RFC 4588) (defaults to false).
  129. // disableRtx: false,
  130. // Disables or enables TCC (the default is in Jicofo and set to true)
  131. // (draft-holmer-rmcat-transport-wide-cc-extensions-01). This setting
  132. // affects congestion control, it practically enables send-side bandwidth
  133. // estimations.
  134. // enableTcc: true,
  135. // Disables or enables REMB (the default is in Jicofo and set to false)
  136. // (draft-alvestrand-rmcat-remb-03). This setting affects congestion
  137. // control, it practically enables recv-side bandwidth estimations. When
  138. // both TCC and REMB are enabled, TCC takes precedence. When both are
  139. // disabled, then bandwidth estimations are disabled.
  140. // enableRemb: false,
  141. // Defines the minimum number of participants to start a call (the default
  142. // is set in Jicofo and set to 2).
  143. // minParticipants: 2,
  144. // Use XEP-0215 to fetch STUN and TURN servers.
  145. // useStunTurn: true,
  146. // Enable IPv6 support.
  147. // useIPv6: true,
  148. // Enables / disables a data communication channel with the Videobridge.
  149. // Values can be 'datachannel', 'websocket', true (treat it as
  150. // 'datachannel'), undefined (treat it as 'datachannel') and false (don't
  151. // open any channel).
  152. // openBridgeChannel: true,
  153. // UI
  154. //
  155. // Use display name as XMPP nickname.
  156. // useNicks: false,
  157. // Require users to always specify a display name.
  158. // requireDisplayName: true,
  159. // Whether to use a welcome page or not. In case it's false a random room
  160. // will be joined when no room is specified.
  161. enableWelcomePage: true,
  162. // Enabling the close page will ignore the welcome page redirection when
  163. // a call is hangup.
  164. // enableClosePage: false,
  165. // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
  166. // disable1On1Mode: false,
  167. // The minimum value a video's height (or width, whichever is smaller) needs
  168. // to be in order to be considered high-definition.
  169. minHDHeight: 540,
  170. // Default language for the user interface.
  171. // defaultLanguage: 'en',
  172. // If true all users without a token will be considered guests and all users
  173. // with token will be considered non-guests. Only guests will be allowed to
  174. // edit their profile.
  175. enableUserRolesBasedOnToken: false,
  176. // Message to show the users. Example: 'The service will be down for
  177. // maintenance at 01:00 AM GMT,
  178. // noticeMessage: '',
  179. // Stats
  180. //
  181. // Whether to enable stats collection or not in the TraceablePeerConnection.
  182. // This can be useful for debugging purposes (post-processing/analysis of
  183. // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
  184. // estimation tests.
  185. // gatherStats: false,
  186. // To enable sending statistics to callstats.io you must provide the
  187. // Application ID and Secret.
  188. // callStatsID: '',
  189. // callStatsSecret: '',
  190. // enables callstatsUsername to be reported as statsId and used
  191. // by callstats as repoted remote id
  192. // enableStatsID: false
  193. // enables sending participants display name to callstats
  194. // enableDisplayNameInStats: false
  195. // Privacy
  196. //
  197. // If third party requests are disabled, no other server will be contacted.
  198. // This means avatars will be locally generated and callstats integration
  199. // will not function.
  200. // disableThirdPartyRequests: false,
  201. // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
  202. //
  203. p2p: {
  204. // Enables peer to peer mode. When enabled the system will try to
  205. // establish a direct connection when there are exactly 2 participants
  206. // in the room. If that succeeds the conference will stop sending data
  207. // through the JVB and use the peer to peer connection instead. When a
  208. // 3rd participant joins the conference will be moved back to the JVB
  209. // connection.
  210. enabled: true,
  211. // Use XEP-0215 to fetch STUN and TURN servers.
  212. // useStunTurn: true,
  213. // The STUN servers that will be used in the peer to peer connections
  214. stunServers: [
  215. { urls: 'stun:stun.l.google.com:19302' },
  216. { urls: 'stun:stun1.l.google.com:19302' },
  217. { urls: 'stun:stun2.l.google.com:19302' }
  218. ],
  219. // Sets the ICE transport policy for the p2p connection. At the time
  220. // of this writing the list of possible values are 'all' and 'relay',
  221. // but that is subject to change in the future. The enum is defined in
  222. // the WebRTC standard:
  223. // https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
  224. // If not set, the effective value is 'all'.
  225. // iceTransportPolicy: 'all',
  226. // If set to true, it will prefer to use H.264 for P2P calls (if H.264
  227. // is supported).
  228. preferH264: true
  229. // If set to true, disable H.264 video codec by stripping it out of the
  230. // SDP.
  231. // disableH264: false,
  232. // How long we're going to wait, before going back to P2P after the 3rd
  233. // participant has left the conference (to filter out page reload).
  234. // backToP2PDelay: 5
  235. },
  236. // A list of scripts to load as lib-jitsi-meet "analytics handlers".
  237. // analyticsScriptUrls: [
  238. // "libs/analytics-ga.js", // google-analytics
  239. // "https://example.com/my-custom-analytics.js"
  240. // ],
  241. // The Google Analytics Tracking ID
  242. // googleAnalyticsTrackingId = 'your-tracking-id-here-UA-123456-1',
  243. // Information about the jitsi-meet instance we are connecting to, including
  244. // the user region as seen by the server.
  245. deploymentInfo: {
  246. // shard: "shard1",
  247. // region: "europe",
  248. // userRegion: "asia"
  249. }
  250. // List of undocumented settings used in jitsi-meet
  251. /**
  252. alwaysVisibleToolbar
  253. autoEnableDesktopSharing
  254. autoRecord
  255. autoRecordToken
  256. debug
  257. debugAudioLevels
  258. deploymentInfo
  259. dialInConfCodeUrl
  260. dialInNumbersUrl
  261. dialOutAuthUrl
  262. dialOutCodesUrl
  263. disableRemoteControl
  264. displayJids
  265. enableLocalVideoFlip
  266. etherpad_base
  267. externalConnectUrl
  268. firefox_fake_device
  269. googleApiApplicationClientID
  270. iAmRecorder
  271. iAmSipGateway
  272. peopleSearchQueryTypes
  273. peopleSearchUrl
  274. requireDisplayName
  275. tokenAuthUrl
  276. */
  277. // List of undocumented settings used in lib-jitsi-meet
  278. /**
  279. _peerConnStatusOutOfLastNTimeout
  280. _peerConnStatusRtcMuteTimeout
  281. abTesting
  282. avgRtpStatsN
  283. callStatsConfIDNamespace
  284. callStatsCustomScriptUrl
  285. desktopSharingSources
  286. disableAEC
  287. disableAGC
  288. disableAP
  289. disableHPF
  290. disableNS
  291. enableLipSync
  292. enableTalkWhileMuted
  293. forceJVB121Ratio
  294. hiddenDomain
  295. ignoreStartMuted
  296. nick
  297. startBitrate
  298. */
  299. };
  300. /* eslint-enable no-unused-vars, no-var */