Advertisement
Guest User

Untitled

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