Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

492 righe
17 KiB

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