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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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 in the TraceablePeerConnection.
  177. // This can be useful for debugging purposes (post-processing/analysis of
  178. // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
  179. // estimation tests.
  180. // gatherStats: false,
  181. // To enable sending statistics to callstats.io you must provide the
  182. // Application ID and Secret.
  183. // callStatsID: '',
  184. // callStatsSecret: '',
  185. // enables callstatsUsername to be reported as statsId and used
  186. // by callstats as repoted remote id
  187. // enableStatsID: false
  188. // enables sending participants display name to callstats
  189. // enableDisplayNameInStats: false
  190. // Privacy
  191. //
  192. // If third party requests are disabled, no other server will be contacted.
  193. // This means avatars will be locally generated and callstats integration
  194. // will not function.
  195. // disableThirdPartyRequests: false,
  196. // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
  197. //
  198. p2p: {
  199. // Enables peer to peer mode. When enabled the system will try to
  200. // establish a direct connection when there are exactly 2 participants
  201. // in the room. If that succeeds the conference will stop sending data
  202. // through the JVB and use the peer to peer connection instead. When a
  203. // 3rd participant joins the conference will be moved back to the JVB
  204. // connection.
  205. enabled: true,
  206. // Use XEP-0215 to fetch STUN and TURN servers.
  207. // useStunTurn: true,
  208. // The STUN servers that will be used in the peer to peer connections
  209. stunServers: [
  210. { urls: 'stun:stun.l.google.com:19302' },
  211. { urls: 'stun:stun1.l.google.com:19302' },
  212. { urls: 'stun:stun2.l.google.com:19302' }
  213. ],
  214. // Sets the ICE transport policy for the p2p connection. At the time
  215. // of this writing the list of possible values are 'all' and 'relay',
  216. // but that is subject to change in the future. The enum is defined in
  217. // the WebRTC standard:
  218. // https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
  219. // If not set, the effective value is 'all'.
  220. // iceTransportPolicy: 'all',
  221. // If set to true, it will prefer to use H.264 for P2P calls (if H.264
  222. // is supported).
  223. preferH264: true
  224. // If set to true, disable H.264 video codec by stripping it out of the
  225. // SDP.
  226. // disableH264: false,
  227. // How long we're going to wait, before going back to P2P after the 3rd
  228. // participant has left the conference (to filter out page reload).
  229. // backToP2PDelay: 5
  230. },
  231. // A list of scripts to load as lib-jitsi-meet "analytics handlers".
  232. // analyticsScriptUrls: [
  233. // "libs/analytics-ga.js", // google-analytics
  234. // "https://example.com/my-custom-analytics.js"
  235. // ],
  236. // The Google Analytics Tracking ID
  237. // googleAnalyticsTrackingId = 'your-tracking-id-here-UA-123456-1',
  238. // Information about the jitsi-meet instance we are connecting to, including
  239. // the user region as seen by the server.
  240. deploymentInfo: {
  241. // shard: "shard1",
  242. // region: "europe",
  243. // userRegion: "asia"
  244. }
  245. // List of undocumented settings used in jitsi-meet
  246. /**
  247. alwaysVisibleToolbar
  248. autoEnableDesktopSharing
  249. autoRecord
  250. autoRecordToken
  251. debug
  252. debugAudioLevels
  253. deploymentInfo
  254. dialInConfCodeUrl
  255. dialInNumbersUrl
  256. dialOutAuthUrl
  257. dialOutCodesUrl
  258. disableRemoteControl
  259. displayJids
  260. enableLocalVideoFlip
  261. etherpad_base
  262. externalConnectUrl
  263. firefox_fake_device
  264. googleApiApplicationClientID
  265. iAmRecorder
  266. iAmSipGateway
  267. peopleSearchQueryTypes
  268. peopleSearchUrl
  269. requireDisplayName
  270. tokenAuthUrl
  271. */
  272. // List of undocumented settings used in lib-jitsi-meet
  273. /**
  274. _peerConnStatusOutOfLastNTimeout
  275. _peerConnStatusRtcMuteTimeout
  276. abTesting
  277. avgRtpStatsN
  278. callStatsConfIDNamespace
  279. callStatsCustomScriptUrl
  280. desktopSharingSources
  281. disableAEC
  282. disableAGC
  283. disableAP
  284. disableHPF
  285. disableNS
  286. enableLipSync
  287. enableTalkWhileMuted
  288. forceJVB121Ratio
  289. hiddenDomain
  290. ignoreStartMuted
  291. nick
  292. startBitrate
  293. */
  294. };
  295. /* eslint-enable no-unused-vars, no-var */