Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

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