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

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