Skip to content

Instantly share code, notes, and snippets.

@shierro
Created February 3, 2018 00:36
Show Gist options
  • Save shierro/3dc053928de50ccfa5b137a7730e7696 to your computer and use it in GitHub Desktop.
Save shierro/3dc053928de50ccfa5b137a7730e7696 to your computer and use it in GitHub Desktop.
Jitsi Web UI config
var config = {
hosts: {
domain: 'prosody',
muc: 'conference.prosody', // FIXME: use XEP-0030
focus: 'focus.prosody',
},
disableSimulcast: false,
resolution: 720,
externalConnectUrl: '//localhost/http-pre-bind',
// analyticsScriptUrl: "https://meet.jit.si/libs/jitsi-analytics-web-client.min.js",
// analyticsScriptUrls: [
// "https://meet.jit.si/libs/analytics-ga.js",
// "https://meet.jit.si/libs/jitsi-analytics-web-client.min.js",
// ],
p2pStunServers: [
{ urls: "stun:stun.l.google.com:19302" },
{ urls: "stun:stun1.l.google.com:19302" },
{ urls: "stun:stun2.l.google.com:19302" }
],
enableP2P: true, // flag to control P2P connections
// New P2P options
p2p: {
enabled: true,
preferH264: true,
disableH264: true,
useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server for the P2P connection
stunServers: [
{ urls: "stun:stun.l.google.com:19302" },
{ urls: "stun:stun1.l.google.com:19302" },
{ urls: "stun:stun2.l.google.com:19302" }
]
},
useStunTurn: false, // use XEP-0215 to fetch STUN and TURN server for the JVB connection
useIPv6: false, // ipv6 support. use at your own risk
useNicks: false,
bosh: '//localhost/http-bind', // FIXME: use xep-0156 for that
etherpad_base: 'https://meet.jit.si/etherpad/p/',
clientNode: 'http://jitsi.org/jitsimeet', // The name of client node advertised in XEP-0115 'c' stanza
//deprecated desktop sharing settings, included only because older version of jitsi-meet require them
desktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.
chromeExtensionId: 'kglhbbefdnlheedjiejgomgmfplipfeb', // Id of desktop streamer Chrome extension
desktopSharingSources: ['screen', 'window'],
//new desktop sharing settings
desktopSharingChromeExtId: 'kglhbbefdnlheedjiejgomgmfplipfeb', // Id of desktop streamer Chrome extension
desktopSharingChromeDisabled: false,
desktopSharingChromeSources: ['screen', 'window', 'tab'],
desktopSharingChromeMinExtVersion: '0.2.6.2', // Required version of Chrome extension
desktopSharingFirefoxExtId: "",
desktopSharingFirefoxDisabled: false,
desktopSharingFirefoxMaxVersionExtRequired: '0',
desktopSharingFirefoxExtensionURL: "",
useRoomAsSharedDocumentName: false,
disableRtx: false, // Enables RTX everywhere
enableRtpStats: false, // Enables RTP stats processing
enableStatsID: true,
openSctp: true, // Toggle to enable/disable SCTP channels
channelLastN: -1, // The default value of the channel attribute last-n.
minHDHeight: 540,
startBitrate: "800",
disableAudioLevels: false,
useRtcpMux: true,
useBundle: true,
disableSuspendVideo: true,
enableLipSync: false,
stereo: false,
forceJVB121Ratio: -1,
enableTalkWhileMuted: true,
// callStatsCustomScriptUrl: "https://api.callstats.io/static/callstats-ws.min.js",
// hiddenDomain: 'recorder.meet.jit.si',
// enableRecording: true,
// requireDisplayName: false,
// recordingType: 'jibri',
enableWelcomePage: true,
isBrand: false,
logStats: false,
// To enable sending statistics to callstats.io you should provide Applicaiton ID and Secret.
callStatsID: "347489791",//Application ID for callstats.io API
callStatsSecret: "169aw6v+hk9TbVuHN2SiDCgfkkU=",//Secret for callstats.io API
dialInNumbersUrl: 'https://jitsi-api.jitsi.net/phoneNumberList',
dialInConfCodeUrl: 'https://jitsi-api.jitsi.net/conferenceMapper',
dialOutCodesUrl: 'https://jitsi-api.jitsi.net/countrycodes',
dialOutAuthUrl: 'https://jitsi-api.jitsi.net/authorizephone',
peopleSearchUrl: 'https://jitsi-api.jitsi.net/directorySearch',
inviteServiceUrl: 'https://jitsi-api.jitsi.net/conferenceInvite',
peopleSearchQueryTypes: ['user', 'conferenceRooms'],
startAudioMuted: 9,
startVideoMuted: 9,
enableUserRolesBasedOnToken: false,
// atlassianAnalyticsEventUrl: "https://analytics.atlassian.com/analytics/event",
// atlassianAnalyticsEvent: {
// product: "lib-jitsi-meet",
// subproduct: "hcv-meetjitsi",
// name: "jitsi.page.load.failed",
// server: "meet.jit.si"
// },
// deploymentInfo: {
// environment: 'hcv-meetjitsi',
// envType: 'prod',
// shard: 'hcv-meetjitsi-ap-se-1a-s4',
// region: 'ap-southeast-1',
// userRegion: 'ap-southeast-1',
// crossRegion: 'ap-southeast-1' === 'ap-southeast-1' ? 0 : 1
// },
abTesting: {
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment