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.

fqdn_conf.js 18KB

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