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 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /* jshint maxlen:false */
  2. var config = { // eslint-disable-line no-unused-vars
  3. // configLocation: './config.json', // see ./modules/HttpConfigFetch.js
  4. hosts: {
  5. domain: 'jitsi-meet.example.com',
  6. //anonymousdomain: 'guest.example.com',
  7. //authdomain: 'jitsi-meet.example.com', // defaults to <domain>
  8. muc: 'conference.jitsi-meet.example.com', // FIXME: use XEP-0030
  9. //jirecon: 'jirecon.jitsi-meet.example.com',
  10. //call_control: 'callcontrol.jitsi-meet.example.com',
  11. //focus: 'focus.jitsi-meet.example.com', // defaults to 'focus.jitsi-meet.example.com'
  12. },
  13. testing: {
  14. /**
  15. * P2P test mode disables automatic switching to P2P when there are 2
  16. * participants in the conference.
  17. */
  18. p2pTestMode: false,
  19. },
  20. // getroomnode: function (path) { return 'someprefixpossiblybasedonpath'; },
  21. // useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
  22. // useIPv6: true, // ipv6 support. use at your own risk
  23. useNicks: false,
  24. bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for that
  25. clientNode: 'http://jitsi.org/jitsimeet', // The name of client node advertised in XEP-0115 'c' stanza
  26. //focusUserJid: 'focus@auth.jitsi-meet.example.com', // The real JID of focus participant - can be overridden here
  27. //defaultSipNumber: '', // Default SIP number
  28. /**
  29. * Disables desktop sharing functionality.
  30. */
  31. disableDesktopSharing: false,
  32. // The ID of the jidesha extension for Chrome.
  33. desktopSharingChromeExtId: null,
  34. // Whether desktop sharing should be disabled on Chrome.
  35. desktopSharingChromeDisabled: true,
  36. // The media sources to use when using screen sharing with the Chrome
  37. // extension.
  38. desktopSharingChromeSources: ['screen', 'window', 'tab'],
  39. // Required version of Chrome extension
  40. desktopSharingChromeMinExtVersion: '0.1',
  41. // The ID of the jidesha extension for Firefox. If null, we assume that no
  42. // extension is required.
  43. desktopSharingFirefoxExtId: null,
  44. // Whether desktop sharing should be disabled on Firefox.
  45. desktopSharingFirefoxDisabled: false,
  46. // The maximum version of Firefox which requires a jidesha extension.
  47. // Example: if set to 41, we will require the extension for Firefox versions
  48. // up to and including 41. On Firefox 42 and higher, we will run without the
  49. // extension.
  50. // If set to -1, an extension will be required for all versions of Firefox.
  51. desktopSharingFirefoxMaxVersionExtRequired: 51,
  52. // The URL to the Firefox extension for desktop sharing.
  53. desktopSharingFirefoxExtensionURL: null,
  54. // Disables ICE/UDP by filtering out local and remote UDP candidates in signalling.
  55. webrtcIceUdpDisable: false,
  56. // Disables ICE/TCP by filtering out local and remote TCP candidates in signalling.
  57. webrtcIceTcpDisable: false,
  58. openSctp: true, // Toggle to enable/disable SCTP channels
  59. // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
  60. disable1On1Mode: false,
  61. disableStats: false,
  62. disableAudioLevels: false,
  63. channelLastN: -1, // The default value of the channel attribute last-n.
  64. enableRecording: false,
  65. enableWelcomePage: true,
  66. //enableClosePage: false, // enabling the close page will ignore the welcome
  67. // page redirection when call is hangup
  68. disableSimulcast: false,
  69. // requireDisplayName: true, // Forces the participants that doesn't have display name to enter it when they enter the room.
  70. startAudioOnly: false, // Will start the conference in the audio only mode (no video is being received nor sent)
  71. startScreenSharing: false, // Will try to start with screensharing instead of camera
  72. // startAudioMuted: 10, // every participant after the Nth will start audio muted
  73. // startVideoMuted: 10, // every participant after the Nth will start video muted
  74. // defaultLanguage: "en",
  75. // To enable sending statistics to callstats.io you should provide Applicaiton ID and Secret.
  76. // callStatsID: "", // Application ID for callstats.io API
  77. // callStatsSecret: "", // Secret for callstats.io API
  78. /*noticeMessage: 'Service update is scheduled for 16th March 2015. ' +
  79. 'During that time service will not be available. ' +
  80. 'Apologise for inconvenience.',*/
  81. disableThirdPartyRequests: false,
  82. // The minumum value a video's height (or width, whichever is smaller) needs
  83. // to be in order to be considered high-definition.
  84. minHDHeight: 540,
  85. // If true - all users without token will be considered guests and all users
  86. // with token will be considered non-guests. Only guests will be allowed to
  87. // edit their profile.
  88. enableUserRolesBasedOnToken: false,
  89. // Suspending video might cause problems with audio playback. Disabling until these are fixed.
  90. disableSuspendVideo: true,
  91. // disables or enables RTX (RFC 4588) (defaults to false).
  92. disableRtx: false,
  93. // Sets the preferred resolution (height) for local video. Defaults to 720.
  94. resolution: 720,
  95. // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
  96. p2p: {
  97. // Enables peer to peer mode. When enabled system will try to establish
  98. // direct connection given that there are exactly 2 participants in
  99. // the room. If that succeeds the conference will stop sending data
  100. // through the JVB and use the peer to peer connection instead. When 3rd
  101. // participant joins the conference will be moved back to the JVB
  102. // connection.
  103. enabled: true,
  104. // The STUN servers that will be used in the peer to peer connections
  105. // useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
  106. stunServers: [
  107. { urls: "stun:stun.l.google.com:19302" },
  108. { urls: "stun:stun1.l.google.com:19302" },
  109. { urls: "stun:stun2.l.google.com:19302" }
  110. ],
  111. // If set to true, it will prefer to use H.264 for P2P calls (if H.264
  112. // is supported).
  113. preferH264: true
  114. // How long we're going to wait, before going back to P2P after
  115. // the 3rd participant has left the conference (to filter out page reload)
  116. //backToP2PDelay: 5
  117. },
  118. // Information about the jitsi-meet instance we are connecting to, including the
  119. // user region as seen by the server.
  120. deploymentInfo: {
  121. //shard: "shard1",
  122. //region: "europe",
  123. //userRegion: "asia"
  124. }
  125. };