Advertisement
Guest User

config.js

a guest
May 24th, 2017
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. /* jshint maxlen:false */
  2.  
  3. var params = {};
  4.  
  5. if (location.search) {
  6. var parts = location.search.substring(1).split('&');
  7.  
  8. for (var i = 0; i < parts.length; i++) {
  9. var nv = parts[i].split('=');
  10. if (!nv[0]) continue;
  11. params[nv[0]] = nv[1] || true;
  12. }
  13. }
  14.  
  15. /* jshint maxlen:false */
  16.  
  17. var config = { // eslint-disable-line no-unused-vars
  18. // configLocation: './config.json', // see ./modules/HttpConfigFetch.js
  19. rName: params.name,
  20. hosts: {
  21. domain: 'gofast-comm-dev.ceo-vision.com',
  22. //anonymousdomain: 'guest.example.com',
  23. //authdomain: 'gofast-comm-dev.ceo-vision.com', // defaults to <domain>
  24. muc: 'conference.gofast-comm-dev.ceo-vision.com', // FIXME: use XEP-0030
  25. //jirecon: 'jirecon.gofast-comm-dev.ceo-vision.com',
  26. //call_control: 'callcontrol.gofast-comm-dev.ceo-vision.com',
  27. focus: 'focus.gofast-comm-dev.ceo-vision.com', // defaults to 'focus.gofast-comm-dev.ceo-vision.com'
  28. },
  29. getroomnode: function (path) { return config.rName },
  30. //useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
  31. // useIPv6: true, // ipv6 support. use at your own risk
  32. useNicks: false,
  33. bosh: '//gofast-comm-dev.ceo-vision.com/http-bind', // FIXME: use xep-0156 for that
  34. clientNode: 'http://jitsi.org/jitsimeet', // The name of client node advertised in XEP-0115 'c' stanza
  35. //focusUserJid: 'focus@gofast-comm-dev.ceo-vision.com', // The real JID of focus participant - can be overridden here
  36. //defaultSipNumber: '', // Default SIP number
  37.  
  38. // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.
  39. desktopSharingChromeMethod: 'ext',
  40. // The ID of the jidesha extension for Chrome.
  41. desktopSharingChromeExtId: 'diibjkoicjeejcmhdnailmkgecihlobk',
  42. // The media sources to use when using screen sharing with the Chrome
  43. // extension.
  44. desktopSharingChromeSources: ['screen', 'window', 'tab'],
  45. // Required version of Chrome extension
  46. desktopSharingChromeMinExtVersion: '0.1',
  47.  
  48. // The ID of the jidesha extension for Firefox. If null, we assume that no
  49. // extension is required.
  50. desktopSharingFirefoxExtId: null,
  51. // Whether desktop sharing should be disabled on Firefox.
  52. desktopSharingFirefoxDisabled: true,
  53. // The maximum version of Firefox which requires a jidesha extension.
  54. // Example: if set to 41, we will require the extension for Firefox versions
  55. // up to and including 41. On Firefox 42 and higher, we will run without the
  56. // extension.
  57. // If set to -1, an extension will be required for all versions of Firefox.
  58. desktopSharingFirefoxMaxVersionExtRequired: -1,
  59. // The URL to the Firefox extension for desktop sharing.
  60. desktopSharingFirefoxExtensionURL: null,
  61.  
  62. // Disables ICE/UDP by filtering out local and remote UDP candidates in signalling.
  63. webrtcIceUdpDisable: false,
  64. // Disables ICE/TCP by filtering out local and remote TCP candidates in signalling.
  65. webrtcIceTcpDisable: false,
  66.  
  67. openSctp: true, // Toggle to enable/disable SCTP channels
  68. disableStats: false,
  69. disableAudioLevels: false,
  70. channelLastN: -1, // The default value of the channel attribute last-n.
  71. adaptiveLastN: false,
  72. //disableAdaptiveSimulcast: false,
  73. enableRecording: false,
  74. enableWelcomePage: true,
  75. //enableClosePage: false, // enabling the close page will ignore the welcome
  76. // page redirection when call is hangup
  77. disableSimulcast: false,
  78. logStats: false, // Enable logging of PeerConnection stats via the focus
  79. // requireDisplayName: true, // Forces the participants that doesn't have display name to enter it when they enter the room.
  80. // startAudioMuted: 10, // every participant after the Nth will start audio muted
  81. // startVideoMuted: 10, // every participant after the Nth will start video muted
  82. // defaultLanguage: "en",
  83. // To enable sending statistics to callstats.io you should provide Applicaiton ID and Secret.
  84. // callStatsID: "", // Application ID for callstats.io API
  85. // callStatsSecret: "", // Secret for callstats.io API
  86. /*noticeMessage: 'Service update is scheduled for 16th March 2015. ' +
  87. 'During that time service will not be available. ' +
  88. 'Apologise for inconvenience.',*/
  89. disableThirdPartyRequests: false,
  90. minHDHeight: 540,
  91. // If true - all users without token will be considered guests and all users
  92. // with token will be considered non-guests. Only guests will be allowed to
  93. // edit their profile.
  94. enableUserRolesBasedOnToken: false,
  95. // Suspending video might cause problems with audio playback. Disabling until these are fixed.
  96. disableSuspendVideo: true
  97. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement