Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

config.js 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  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. // RTCBrowserType#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. // Try to start calls with screen-sharing instead of camera video.
  123. // startScreenSharing: false,
  124. // Recording
  125. // Whether to enable recording or not.
  126. // enableRecording: false,
  127. // Type for recording: one of jibri or jirecon.
  128. // recordingType: 'jibri',
  129. // Misc
  130. // Default value for the channel "last N" attribute. -1 for unlimited.
  131. channelLastN: -1,
  132. // Disables or enables RTX (RFC 4588) (defaults to false).
  133. // disableRtx: false,
  134. // Use XEP-0215 to fetch STUN and TURN servers.
  135. // useStunTurn: true,
  136. // Enable IPv6 support.
  137. // useIPv6: true,
  138. // Enables / disables a data communication channel with the Videobridge.
  139. // Values can be 'datachannel', 'websocket', true (treat it as
  140. // 'datachannel'), undefined (treat it as 'datachannel') and false (don't
  141. // open any channel).
  142. // openBridgeChannel: true,
  143. // UI
  144. //
  145. // Use display name as XMPP nickname.
  146. // useNicks: false,
  147. // Require users to always specify a display name.
  148. // requireDisplayName: true,
  149. // Whether to use a welcome page or not. In case it's false a random room
  150. // will be joined when no room is specified.
  151. enableWelcomePage: true,
  152. // Enabling the close page will ignore the welcome page redirection when
  153. // a call is hangup.
  154. // enableClosePage: false,
  155. // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
  156. // disable1On1Mode: false,
  157. // The minimum value a video's height (or width, whichever is smaller) needs
  158. // to be in order to be considered high-definition.
  159. minHDHeight: 540,
  160. // Default language for the user interface.
  161. // defaultLanguage: 'en',
  162. // If true all users without a token will be considered guests and all users
  163. // with token will be considered non-guests. Only guests will be allowed to
  164. // edit their profile.
  165. enableUserRolesBasedOnToken: false,
  166. // Message to show the users. Example: 'The service will be down for
  167. // maintenance at 01:00 AM GMT,
  168. // noticeMessage: '',
  169. // Stats
  170. //
  171. // Whether to enable stats collection or not.
  172. // disableStats: false,
  173. // To enable sending statistics to callstats.io you must provide the
  174. // Application ID and Secret.
  175. // callStatsID: '',
  176. // callStatsSecret: '',
  177. // enables callstatsUsername to be reported as statsId and used
  178. // by callstats as repoted remote id
  179. // enableStatsID: false
  180. // enables sending participants display name to callstats
  181. // enableDisplayNameInStats: false
  182. // Privacy
  183. //
  184. // If third party requests are disabled, no other server will be contacted.
  185. // This means avatars will be locally generated and callstats integration
  186. // will not function.
  187. // disableThirdPartyRequests: false,
  188. // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
  189. //
  190. p2p: {
  191. // Enables peer to peer mode. When enabled the system will try to
  192. // establish a direct connection when there are exactly 2 participants
  193. // in the room. If that succeeds the conference will stop sending data
  194. // through the JVB and use the peer to peer connection instead. When a
  195. // 3rd participant joins the conference will be moved back to the JVB
  196. // connection.
  197. enabled: true,
  198. // Use XEP-0215 to fetch STUN and TURN servers.
  199. // useStunTurn: true,
  200. // The STUN servers that will be used in the peer to peer connections
  201. stunServers: [
  202. { urls: 'stun:stun.l.google.com:19302' },
  203. { urls: 'stun:stun1.l.google.com:19302' },
  204. { urls: 'stun:stun2.l.google.com:19302' }
  205. ],
  206. // Sets the ICE transport policy for the p2p connection. At the time
  207. // of this writing the list of possible values are 'all' and 'relay',
  208. // but that is subject to change in the future. The enum is defined in
  209. // the WebRTC standard:
  210. // https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
  211. // If not set, the effective value is 'all'.
  212. // iceTransportPolicy: 'all',
  213. // If set to true, it will prefer to use H.264 for P2P calls (if H.264
  214. // is supported).
  215. preferH264: true
  216. // If set to true, disable H.264 video codec by stripping it out of the
  217. // SDP.
  218. // disableH264: false,
  219. // How long we're going to wait, before going back to P2P after the 3rd
  220. // participant has left the conference (to filter out page reload).
  221. // backToP2PDelay: 5
  222. },
  223. // A list of scripts to load as lib-jitsi-meet "analytics handlers".
  224. // analyticsScriptUrls: [
  225. // "libs/analytics-ga.js", // google-analytics
  226. // "https://example.com/my-custom-analytics.js"
  227. // ],
  228. // Information about the jitsi-meet instance we are connecting to, including
  229. // the user region as seen by the server.
  230. deploymentInfo: {
  231. // shard: "shard1",
  232. // region: "europe",
  233. // userRegion: "asia"
  234. }
  235. // List of undocumented settings used in jitsi-meet
  236. /**
  237. alwaysVisibleToolbar
  238. autoEnableDesktopSharing
  239. autoRecord
  240. autoRecordToken
  241. debug
  242. debugAudioLevels
  243. deploymentInfo
  244. dialInConfCodeUrl
  245. dialInNumbersUrl
  246. dialOutAuthUrl
  247. dialOutCodesUrl
  248. disableRemoteControl
  249. displayJids
  250. enableLocalVideoFlip
  251. etherpad_base
  252. externalConnectUrl
  253. firefox_fake_device
  254. iAmRecorder
  255. iAmSipGateway
  256. peopleSearchQueryTypes
  257. peopleSearchUrl
  258. requireDisplayName
  259. tokenAuthUrl
  260. */
  261. // List of undocumented settings used in lib-jitsi-meet
  262. /**
  263. _peerConnStatusOutOfLastNTimeout
  264. _peerConnStatusRtcMuteTimeout
  265. abTesting
  266. avgRtpStatsN
  267. callStatsConfIDNamespace
  268. callStatsCustomScriptUrl
  269. desktopSharingSources
  270. disableAEC
  271. disableAGC
  272. disableAP
  273. disableHPF
  274. disableNS
  275. enableLipSync
  276. enableTalkWhileMuted
  277. forceJVB121Ratio
  278. hiddenDomain
  279. ignoreStartMuted
  280. nick
  281. startBitrate
  282. */
  283. };
  284. /* eslint-enable no-unused-vars, no-var */