2017-10-12 23:02:29 +00:00
|
|
|
/* eslint-disable no-unused-vars, no-var */
|
2017-10-16 20:37:13 +00:00
|
|
|
|
|
|
|
var config = {
|
2017-08-07 11:51:07 +00:00
|
|
|
// Connection
|
|
|
|
//
|
|
|
|
|
2013-12-16 11:22:23 +00:00
|
|
|
hosts: {
|
2017-08-07 11:51:07 +00:00
|
|
|
// XMPP domain.
|
2015-03-09 16:58:11 +00:00
|
|
|
domain: 'jitsi-meet.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// When using authentication, domain for guest users.
|
2017-10-12 23:02:29 +00:00
|
|
|
// anonymousdomain: 'guest.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Domain for authenticated users. Defaults to <domain>.
|
2017-10-12 23:02:29 +00:00
|
|
|
// authdomain: 'jitsi-meet.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Jirecon recording component domain.
|
2017-10-12 23:02:29 +00:00
|
|
|
// jirecon: 'jirecon.jitsi-meet.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Call control component (Jigasi).
|
2017-10-12 23:02:29 +00:00
|
|
|
// call_control: 'callcontrol.jitsi-meet.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Focus component domain. Defaults to focus.<domain>.
|
2017-10-12 23:02:29 +00:00
|
|
|
// focus: 'focus.jitsi-meet.example.com',
|
2018-11-06 03:41:31 +00:00
|
|
|
|
|
|
|
// XMPP MUC domain. FIXME: use XEP-0030 to discover it.
|
|
|
|
muc: 'conference.jitsi-meet.example.com'
|
2013-12-16 11:22:23 +00:00
|
|
|
},
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// BOSH URL. FIXME: use XEP-0156 to discover it.
|
|
|
|
bosh: '//jitsi-meet.example.com/http-bind',
|
|
|
|
|
2020-01-24 16:11:14 +00:00
|
|
|
// Websocket URL
|
|
|
|
// websocket: 'wss://jitsi-meet.example.com/xmpp-websocket',
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// The name of client node advertised in XEP-0115 'c' stanza
|
|
|
|
clientNode: 'http://jitsi.org/jitsimeet',
|
|
|
|
|
|
|
|
// The real JID of focus participant - can be overridden here
|
2017-10-12 23:02:29 +00:00
|
|
|
// focusUserJid: 'focus@auth.jitsi-meet.example.com',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Testing / experimental features.
|
|
|
|
//
|
|
|
|
|
2017-07-07 13:36:24 +00:00
|
|
|
testing: {
|
2020-07-03 10:36:51 +00:00
|
|
|
// Disables the End to End Encryption feature. Useful for debugging
|
|
|
|
// issues related to insertable streams.
|
|
|
|
// disableE2EE: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// P2P test mode disables automatic switching to P2P when there are 2
|
|
|
|
// participants in the conference.
|
2017-10-12 23:02:29 +00:00
|
|
|
p2pTestMode: false
|
2018-03-07 15:23:04 +00:00
|
|
|
|
|
|
|
// Enables the test specific features consumed by jitsi-meet-torture
|
|
|
|
// testMode: false
|
2019-10-08 09:34:25 +00:00
|
|
|
|
|
|
|
// Disables the auto-play behavior of *all* newly created video element.
|
|
|
|
// This is useful when the client runs on a host with limited resources.
|
|
|
|
// noAutoPlayVideo: false
|
2020-05-29 14:17:19 +00:00
|
|
|
|
|
|
|
// Enable / disable 500 Kbps bitrate cap on desktop tracks. When enabled,
|
|
|
|
// simulcast is turned off for the desktop share. If presenter is turned
|
|
|
|
// on while screensharing is in progress, the max bitrate is automatically
|
|
|
|
// adjusted to 2.5 Mbps. This takes a value between 0 and 1 which determines
|
|
|
|
// the probability for this to be enabled.
|
|
|
|
// capScreenshareBitrate: 1 // 0 to disable
|
2017-07-07 13:36:24 +00:00
|
|
|
},
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Disables ICE/UDP by filtering out local and remote UDP candidates in
|
|
|
|
// signalling.
|
2017-10-12 23:02:29 +00:00
|
|
|
// webrtcIceUdpDisable: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Disables ICE/TCP by filtering out local and remote TCP candidates in
|
|
|
|
// signalling.
|
2017-10-12 23:02:29 +00:00
|
|
|
// webrtcIceTcpDisable: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Media
|
|
|
|
//
|
|
|
|
|
|
|
|
// Audio
|
|
|
|
|
|
|
|
// Disable measuring of audio levels.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableAudioLevels: false,
|
2020-03-04 21:11:27 +00:00
|
|
|
// audioLevelsInterval: 200,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2019-12-05 12:11:26 +00:00
|
|
|
// Enabling this will run the lib-jitsi-meet no audio detection module which
|
|
|
|
// will notify the user if the current selected microphone has no audio
|
|
|
|
// input and will suggest another valid device if one is present.
|
2020-01-20 18:00:12 +00:00
|
|
|
enableNoAudioDetection: true,
|
|
|
|
|
|
|
|
// Enabling this will run the lib-jitsi-meet noise detection module which will
|
|
|
|
// notify the user if there is noise, other than voice, coming from the current
|
|
|
|
// selected microphone. The purpose it to let the user know that the input could
|
|
|
|
// be potentially unpleasant for other meeting participants.
|
|
|
|
enableNoisyMicDetection: true,
|
2019-12-05 12:11:26 +00:00
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Start the conference in audio only mode (no video is being received nor
|
|
|
|
// sent).
|
2017-10-12 23:02:29 +00:00
|
|
|
// startAudioOnly: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Every participant after the Nth will start audio muted.
|
2017-10-12 23:02:29 +00:00
|
|
|
// startAudioMuted: 10,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Start calls with audio muted. Unlike the option above, this one is only
|
|
|
|
// applied locally. FIXME: having these 2 options is confusing.
|
2017-10-12 23:02:29 +00:00
|
|
|
// startWithAudioMuted: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2019-06-05 17:01:18 +00:00
|
|
|
// Enabling it (with #params) will disable local audio output of remote
|
|
|
|
// participants and to enable it back a reload is needed.
|
|
|
|
// startSilent: false
|
|
|
|
|
2020-07-11 08:33:49 +00:00
|
|
|
// Sets the preferred target bitrate for the Opus audio codec by setting its
|
|
|
|
// 'maxaveragebitrate' parameter. Currently not available in p2p mode.
|
|
|
|
// Valid values are in the range 6000 to 510000
|
|
|
|
// opusMaxAvgBitrate: 20000,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Video
|
|
|
|
|
|
|
|
// Sets the preferred resolution (height) for local video. Defaults to 720.
|
2017-10-12 23:02:29 +00:00
|
|
|
// resolution: 720,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-11-01 00:08:07 +00:00
|
|
|
// w3c spec-compliant video constraints to use for video capture. Currently
|
|
|
|
// used by browsers that return true from lib-jitsi-meet's
|
2020-03-27 14:50:04 +00:00
|
|
|
// util#browser#usesNewGumFlow. The constraints are independent from
|
2020-04-04 20:45:04 +00:00
|
|
|
// this config's resolution value. Defaults to requesting an ideal
|
|
|
|
// resolution of 720p.
|
2017-11-01 00:08:07 +00:00
|
|
|
// constraints: {
|
|
|
|
// video: {
|
|
|
|
// height: {
|
2018-07-17 15:18:32 +00:00
|
|
|
// ideal: 720,
|
|
|
|
// max: 720,
|
2017-11-01 00:08:07 +00:00
|
|
|
// min: 240
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Enable / disable simulcast support.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableSimulcast: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2018-06-12 16:06:10 +00:00
|
|
|
// Enable / disable layer suspension. If enabled, endpoints whose HD
|
|
|
|
// layers are not in use will be suspended (no longer sent) until they
|
|
|
|
// are requested again.
|
|
|
|
// enableLayerSuspension: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Every participant after the Nth will start video muted.
|
2017-10-12 23:02:29 +00:00
|
|
|
// startVideoMuted: 10,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Start calls with video muted. Unlike the option above, this one is only
|
|
|
|
// applied locally. FIXME: having these 2 options is confusing.
|
2017-10-12 23:02:29 +00:00
|
|
|
// startWithVideoMuted: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// If set to true, prefer to use the H.264 video codec (if supported).
|
|
|
|
// Note that it's not recommended to do this because simulcast is not
|
|
|
|
// supported when using H.264. For 1-to-1 calls this setting is enabled by
|
|
|
|
// default and can be toggled in the p2p section.
|
2017-10-12 23:02:29 +00:00
|
|
|
// preferH264: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-10-12 22:42:55 +00:00
|
|
|
// If set to true, disable H.264 video codec by stripping it out of the
|
|
|
|
// SDP.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableH264: false,
|
2017-10-12 22:42:55 +00:00
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Desktop sharing
|
|
|
|
|
2018-02-20 21:23:41 +00:00
|
|
|
// Optional desktop sharing frame rate options. Default value: min:5, max:5.
|
|
|
|
// desktopSharingFrameRate: {
|
|
|
|
// min: 5,
|
|
|
|
// max: 5
|
|
|
|
// },
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Try to start calls with screen-sharing instead of camera video.
|
2017-10-12 23:02:29 +00:00
|
|
|
// startScreenSharing: false,
|
2015-09-21 16:28:49 +00:00
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Recording
|
2017-05-19 00:40:14 +00:00
|
|
|
|
2018-06-06 05:19:28 +00:00
|
|
|
// Whether to enable file recording or not.
|
|
|
|
// fileRecordingsEnabled: false,
|
2018-09-24 23:58:43 +00:00
|
|
|
// Enable the dropbox integration.
|
|
|
|
// dropbox: {
|
2018-09-26 17:57:58 +00:00
|
|
|
// appKey: '<APP_KEY>' // Specify your app key here.
|
2019-03-07 14:56:17 +00:00
|
|
|
// // A URL to redirect the user to, after authenticating
|
|
|
|
// // by default uses:
|
|
|
|
// // 'https://jitsi-meet.example.com/static/oauth.html'
|
|
|
|
// redirectURI:
|
|
|
|
// 'https://jitsi-meet.example.com/subfolder/static/oauth.html'
|
2018-09-24 23:58:43 +00:00
|
|
|
// },
|
2019-03-11 16:17:21 +00:00
|
|
|
// When integrations like dropbox are enabled only that will be shown,
|
|
|
|
// by enabling fileRecordingsServiceEnabled, we show both the integrations
|
|
|
|
// and the generic recording service (its configuration and storage type
|
|
|
|
// depends on jibri configuration)
|
2019-04-24 14:31:21 +00:00
|
|
|
// fileRecordingsServiceEnabled: false,
|
|
|
|
// Whether to show the possibility to share file recording with other people
|
|
|
|
// (e.g. meeting participants), based on the actual implementation
|
|
|
|
// on the backend.
|
|
|
|
// fileRecordingsServiceSharingEnabled: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2018-06-06 05:19:28 +00:00
|
|
|
// Whether to enable live streaming or not.
|
|
|
|
// liveStreamingEnabled: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2018-07-26 16:33:40 +00:00
|
|
|
// Transcription (in interface_config,
|
|
|
|
// subtitles and buttons can be configured)
|
2018-07-26 17:10:40 +00:00
|
|
|
// transcribingEnabled: false,
|
2018-07-26 16:33:40 +00:00
|
|
|
|
2019-08-30 13:41:18 +00:00
|
|
|
// Enables automatic turning on captions when recording is started
|
|
|
|
// autoCaptionOnRecord: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Misc
|
|
|
|
|
|
|
|
// Default value for the channel "last N" attribute. -1 for unlimited.
|
|
|
|
channelLastN: -1,
|
|
|
|
|
2020-05-28 22:42:02 +00:00
|
|
|
// // Options for the recording limit notification.
|
|
|
|
// recordingLimit: {
|
|
|
|
//
|
|
|
|
// // The recording limit in minutes. Note: This number appears in the notification text
|
|
|
|
// // but doesn't enforce the actual recording time limit. This should be configured in
|
|
|
|
// // jibri!
|
|
|
|
// limit: 60,
|
|
|
|
//
|
|
|
|
// // The name of the app with unlimited recordings.
|
|
|
|
// appName: 'Unlimited recordings APP',
|
|
|
|
//
|
|
|
|
// // The URL of the app with unlimited recordings.
|
|
|
|
// appURL: 'https://unlimited.recordings.app.com/'
|
|
|
|
// },
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Disables or enables RTX (RFC 4588) (defaults to false).
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableRtx: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2018-03-30 20:32:53 +00:00
|
|
|
// Disables or enables TCC (the default is in Jicofo and set to true)
|
|
|
|
// (draft-holmer-rmcat-transport-wide-cc-extensions-01). This setting
|
|
|
|
// affects congestion control, it practically enables send-side bandwidth
|
|
|
|
// estimations.
|
|
|
|
// enableTcc: true,
|
|
|
|
|
|
|
|
// Disables or enables REMB (the default is in Jicofo and set to false)
|
|
|
|
// (draft-alvestrand-rmcat-remb-03). This setting affects congestion
|
|
|
|
// control, it practically enables recv-side bandwidth estimations. When
|
|
|
|
// both TCC and REMB are enabled, TCC takes precedence. When both are
|
|
|
|
// disabled, then bandwidth estimations are disabled.
|
|
|
|
// enableRemb: false,
|
|
|
|
|
2020-05-07 11:59:37 +00:00
|
|
|
// Enables ICE restart logic in LJM and displays the page reload overlay on
|
|
|
|
// ICE failure. Current disabled by default because it's causing issues with
|
|
|
|
// signaling when Octo is enabled. Also when we do an "ICE restart"(which is
|
|
|
|
// not a real ICE restart), the client maintains the TCC sequence number
|
|
|
|
// counter, but the bridge resets it. The bridge sends media packets with
|
|
|
|
// TCC sequence numbers starting from 0.
|
|
|
|
// enableIceRestart: false,
|
|
|
|
|
2018-03-30 20:32:53 +00:00
|
|
|
// Defines the minimum number of participants to start a call (the default
|
|
|
|
// is set in Jicofo and set to 2).
|
|
|
|
// minParticipants: 2,
|
|
|
|
|
2020-06-16 17:29:11 +00:00
|
|
|
// Use the TURN servers discovered via XEP-0215 for the jitsi-videobridge
|
|
|
|
// connection
|
2017-10-12 23:02:29 +00:00
|
|
|
// useStunTurn: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2020-06-16 17:29:11 +00:00
|
|
|
// Use TURN/UDP servers for the jitsi-videobridge connection (by default
|
|
|
|
// we filter out TURN/UDP because it is usually not needed since the
|
|
|
|
// bridge itself is reachable via UDP)
|
|
|
|
// useTurnUdp: false
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Enables / disables a data communication channel with the Videobridge.
|
|
|
|
// Values can be 'datachannel', 'websocket', true (treat it as
|
|
|
|
// 'datachannel'), undefined (treat it as 'datachannel') and false (don't
|
|
|
|
// open any channel).
|
2017-10-12 23:02:29 +00:00
|
|
|
// openBridgeChannel: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
// UI
|
|
|
|
//
|
|
|
|
|
|
|
|
// Require users to always specify a display name.
|
2017-10-12 23:02:29 +00:00
|
|
|
// requireDisplayName: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Whether to use a welcome page or not. In case it's false a random room
|
|
|
|
// will be joined when no room is specified.
|
2014-11-12 08:35:44 +00:00
|
|
|
enableWelcomePage: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Enabling the close page will ignore the welcome page redirection when
|
|
|
|
// a call is hangup.
|
2017-10-12 23:02:29 +00:00
|
|
|
// enableClosePage: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Disable hiding of remote thumbnails when in a 1-on-1 conference call.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disable1On1Mode: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Default language for the user interface.
|
2017-10-12 23:02:29 +00:00
|
|
|
// defaultLanguage: 'en',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// If true all users without a token will be considered guests and all users
|
2016-09-13 21:50:10 +00:00
|
|
|
// with token will be considered non-guests. Only guests will be allowed to
|
|
|
|
// edit their profile.
|
2016-12-12 16:37:36 +00:00
|
|
|
enableUserRolesBasedOnToken: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2018-06-15 18:10:22 +00:00
|
|
|
// Whether or not some features are checked based on token.
|
|
|
|
// enableFeaturesBasedOnToken: false,
|
|
|
|
|
2019-05-09 11:30:38 +00:00
|
|
|
// Enable lock room for all moderators, even when userRolesBasedOnToken is enabled and participants are guests.
|
|
|
|
// lockRoomGuestEnabled: false,
|
|
|
|
|
2019-05-22 07:43:17 +00:00
|
|
|
// When enabled the password used for locking a room is restricted to up to the number of digits specified
|
|
|
|
// roomPasswordNumberOfDigits: 10,
|
|
|
|
// default: roomPasswordNumberOfDigits: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Message to show the users. Example: 'The service will be down for
|
|
|
|
// maintenance at 01:00 AM GMT,
|
2017-10-12 23:02:29 +00:00
|
|
|
// noticeMessage: '',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
Google & Microsoft calendar API integration (#3340)
* Refactor calendar-sync feature to be loaded on web.
For the web part it just adds new property to enable/disable calendar web integration, disabled by default.
* Initial implementation of retrieving google calendar events.
* Initial implementation of retrieving microsoft calendar events.
* Fixes comments.
* Rework to use the promise part of microsoft-graph-client api.
* Moves dispatching some actions, fixing comments.
* Makes sure we do not initializeClient google-api client multiple times.
* Do not try to login when fetching calendar entries.
The case where there is a calendar type google selected, but not logged in, trying to login on loading welcome page will show a warning that it tried to open a popup, which was denied by browser.
* Updates profile display data on sign in.
* Propagate google-api state to calendar-sync only if we use google cal.
* Adds sign out action.
* Clears the event listener when the popup closes.
* Clears calendarIntegrationInstance on signOut.
* WIP: UI for calendar settings, refactor auth flows
* Clean up some unused constants, functions and exports.
* break circular dependency of function and constant
* Exports only isCalendarEnabled from functions.
* Checks isSignedIn when doing fetchCalendarEntries on web.
* address comments
List microsoftApiApplicationClientID in undocument config.
remove unused SET_CALENDAR_TYPE action
use helper for calendar enabled in bootstrap
reorder actions
reorder imports
change order of signin -> set type -> update profile
add logging for signout error
reword setting dialog desc to avoid redundancy
add jsdoc to microsoft button props
reorder calendar constants
move default state to reducer (not reused anywhere)
update comment about calendar-sync due to removal of getCalendarState
update comment for getCalendarIntegration
remove vague comment
alpha order reducer, return default state on reset
alpha order persistence registry
remove unnecessary getType from apis
update comments in microsoftCalendar
alpha order google-api exports, use api.get in loadGoogleAPI
set jsdoc for google signin props
alpha order googleapi methods
fix calendartab docs
* Moves fetching calendar from APP_WILL_MOUNT to SET_CONFIG.
The web part needs configuration in order to refresh tokens (Microsoft).
* Fixes storing token expire time and refreshing tokens in Microsoft impl.
* Address comments
updateProfile changed to getCurrentEmail
rename result to results
stop storing integration in redux, store if ready for use
use existing helpers to parse redirect url
* update jsdocs, get google app id from redux
* clear integration instead of actual sign out
2018-08-15 20:11:54 +00:00
|
|
|
// Enables calendar integration, depends on googleApiApplicationClientID
|
|
|
|
// and microsoftApiApplicationClientID
|
|
|
|
// enableCalendarIntegration: false,
|
|
|
|
|
2020-06-27 16:43:22 +00:00
|
|
|
// When 'true', it shows an intermediate page before joining, where the user can configure their devices.
|
2020-04-16 10:47:10 +00:00
|
|
|
// prejoinPageEnabled: false,
|
|
|
|
|
2020-07-10 09:10:19 +00:00
|
|
|
// If true, shows the unsafe room name warning label when a room name is
|
2020-06-11 08:16:26 +00:00
|
|
|
// deemed unsafe (due to the simplicity in the name) and a password is not
|
|
|
|
// set or the lobby is not enabled.
|
|
|
|
// enableInsecureRoomNameWarning: false,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Stats
|
|
|
|
//
|
|
|
|
|
2018-03-05 17:12:39 +00:00
|
|
|
// Whether to enable stats collection or not in the TraceablePeerConnection.
|
|
|
|
// This can be useful for debugging purposes (post-processing/analysis of
|
|
|
|
// the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
|
|
|
|
// estimation tests.
|
|
|
|
// gatherStats: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2020-03-04 21:11:27 +00:00
|
|
|
// The interval at which PeerConnection.getStats() is called. Defaults to 10000
|
|
|
|
// pcStatsInterval: 10000,
|
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// To enable sending statistics to callstats.io you must provide the
|
|
|
|
// Application ID and Secret.
|
2017-10-12 23:02:29 +00:00
|
|
|
// callStatsID: '',
|
|
|
|
// callStatsSecret: '',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2020-06-27 16:43:22 +00:00
|
|
|
// Enables sending participants' display names to callstats
|
2020-03-23 13:06:51 +00:00
|
|
|
// enableDisplayNameInStats: false,
|
2017-10-05 18:28:19 +00:00
|
|
|
|
2020-06-27 16:43:22 +00:00
|
|
|
// Enables sending participants' emails (if available) to callstats and other analytics
|
2020-03-23 13:06:51 +00:00
|
|
|
// enableEmailInStats: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Privacy
|
|
|
|
//
|
|
|
|
|
|
|
|
// If third party requests are disabled, no other server will be contacted.
|
|
|
|
// This means avatars will be locally generated and callstats integration
|
|
|
|
// will not function.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableThirdPartyRequests: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
|
2017-06-28 09:59:46 +00:00
|
|
|
// Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
|
2017-08-07 11:51:07 +00:00
|
|
|
//
|
|
|
|
|
2017-06-28 09:59:46 +00:00
|
|
|
p2p: {
|
2017-08-07 11:51:07 +00:00
|
|
|
// Enables peer to peer mode. When enabled the system will try to
|
|
|
|
// establish a direct connection when there are exactly 2 participants
|
|
|
|
// in the room. If that succeeds the conference will stop sending data
|
|
|
|
// through the JVB and use the peer to peer connection instead. When a
|
|
|
|
// 3rd participant joins the conference will be moved back to the JVB
|
2017-06-28 09:59:46 +00:00
|
|
|
// connection.
|
|
|
|
enabled: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Use XEP-0215 to fetch STUN and TURN servers.
|
2017-10-12 23:02:29 +00:00
|
|
|
// useStunTurn: true,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-06-28 09:59:46 +00:00
|
|
|
// The STUN servers that will be used in the peer to peer connections
|
|
|
|
stunServers: [
|
2020-01-09 16:51:27 +00:00
|
|
|
|
2020-07-07 13:14:28 +00:00
|
|
|
// { urls: 'stun:jitsi-meet.example.com:3478' },
|
2020-03-27 21:45:42 +00:00
|
|
|
{ urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
|
2020-05-26 22:14:57 +00:00
|
|
|
]
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-11-22 16:39:12 +00:00
|
|
|
// Sets the ICE transport policy for the p2p connection. At the time
|
|
|
|
// of this writing the list of possible values are 'all' and 'relay',
|
|
|
|
// but that is subject to change in the future. The enum is defined in
|
|
|
|
// the WebRTC standard:
|
|
|
|
// https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
|
|
|
|
// If not set, the effective value is 'all'.
|
|
|
|
// iceTransportPolicy: 'all',
|
|
|
|
|
2017-06-28 09:59:46 +00:00
|
|
|
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
|
|
|
|
// is supported).
|
2020-05-26 22:09:13 +00:00
|
|
|
// preferH264: true
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-10-12 22:42:55 +00:00
|
|
|
// If set to true, disable H.264 video codec by stripping it out of the
|
|
|
|
// SDP.
|
2017-10-12 23:02:29 +00:00
|
|
|
// disableH264: false,
|
2017-10-12 22:42:55 +00:00
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// How long we're going to wait, before going back to P2P after the 3rd
|
|
|
|
// participant has left the conference (to filter out page reload).
|
2017-10-12 23:02:29 +00:00
|
|
|
// backToP2PDelay: 5
|
2017-06-30 18:37:11 +00:00
|
|
|
},
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2019-01-03 14:48:41 +00:00
|
|
|
analytics: {
|
|
|
|
// The Google Analytics Tracking ID:
|
|
|
|
// googleAnalyticsTrackingId: 'your-tracking-id-UA-123456-1'
|
|
|
|
|
2020-04-28 11:23:04 +00:00
|
|
|
// Matomo configuration:
|
|
|
|
// matomoEndpoint: 'https://your-matomo-endpoint/',
|
|
|
|
// matomoSiteID: '42',
|
|
|
|
|
2019-01-03 14:48:41 +00:00
|
|
|
// The Amplitude APP Key:
|
|
|
|
// amplitudeAPPKey: '<APP_KEY>'
|
|
|
|
|
|
|
|
// Array of script URLs to load as lib-jitsi-meet "analytics handlers".
|
|
|
|
// scriptURLs: [
|
2020-04-29 10:40:04 +00:00
|
|
|
// "libs/analytics-ga.min.js", // google-analytics
|
|
|
|
// "https://example.com/my-custom-analytics.js"
|
2019-01-03 14:48:41 +00:00
|
|
|
// ],
|
|
|
|
},
|
2018-02-12 19:36:10 +00:00
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Information about the jitsi-meet instance we are connecting to, including
|
|
|
|
// the user region as seen by the server.
|
2017-06-30 18:37:11 +00:00
|
|
|
deploymentInfo: {
|
2017-10-12 23:02:29 +00:00
|
|
|
// shard: "shard1",
|
|
|
|
// region: "europe",
|
|
|
|
// userRegion: "asia"
|
2020-03-23 13:06:51 +00:00
|
|
|
},
|
2018-07-27 12:37:04 +00:00
|
|
|
|
2020-04-01 15:32:13 +00:00
|
|
|
// Decides whether the start/stop recording audio notifications should play on record.
|
|
|
|
// disableRecordAudioNotification: false,
|
|
|
|
|
2020-01-23 09:32:52 +00:00
|
|
|
// Information for the chrome extension banner
|
|
|
|
// chromeExtensionBanner: {
|
|
|
|
// // The chrome extension to be installed address
|
|
|
|
// url: 'https://chrome.google.com/webstore/detail/jitsi-meetings/kglhbbefdnlheedjiejgomgmfplipfeb',
|
|
|
|
|
|
|
|
// // Extensions info which allows checking if they are installed or not
|
|
|
|
// chromeExtensionsInfo: [
|
|
|
|
// {
|
|
|
|
// id: 'kglhbbefdnlheedjiejgomgmfplipfeb',
|
|
|
|
// path: 'jitsi-logo-48x48.png'
|
|
|
|
// }
|
|
|
|
// ]
|
2020-03-23 13:06:51 +00:00
|
|
|
// },
|
2020-01-23 09:32:52 +00:00
|
|
|
|
2018-07-27 12:37:04 +00:00
|
|
|
// Local Recording
|
|
|
|
//
|
|
|
|
|
|
|
|
// localRecording: {
|
|
|
|
// Enables local recording.
|
|
|
|
// Additionally, 'localrecording' (all lowercase) needs to be added to
|
|
|
|
// TOOLBAR_BUTTONS in interface_config.js for the Local Recording
|
|
|
|
// button to show up on the toolbar.
|
|
|
|
//
|
|
|
|
// enabled: true,
|
|
|
|
//
|
|
|
|
|
|
|
|
// The recording format, can be one of 'ogg', 'flac' or 'wav'.
|
|
|
|
// format: 'flac'
|
|
|
|
//
|
|
|
|
|
2020-03-23 13:06:51 +00:00
|
|
|
// },
|
2017-12-12 19:16:55 +00:00
|
|
|
|
2018-08-07 18:31:51 +00:00
|
|
|
// Options related to end-to-end (participant to participant) ping.
|
|
|
|
// e2eping: {
|
|
|
|
// // The interval in milliseconds at which pings will be sent.
|
|
|
|
// // Defaults to 10000, set to <= 0 to disable.
|
|
|
|
// pingInterval: 10000,
|
|
|
|
//
|
|
|
|
// // The interval in milliseconds at which analytics events
|
|
|
|
// // with the measured RTT will be sent. Defaults to 60000, set
|
|
|
|
// // to <= 0 to disable.
|
|
|
|
// analyticsInterval: 60000,
|
2020-03-23 13:06:51 +00:00
|
|
|
// },
|
2018-08-07 18:31:51 +00:00
|
|
|
|
2019-01-10 23:39:17 +00:00
|
|
|
// If set, will attempt to use the provided video input device label when
|
|
|
|
// triggering a screenshare, instead of proceeding through the normal flow
|
|
|
|
// for obtaining a desktop stream.
|
|
|
|
// NOTE: This option is experimental and is currently intended for internal
|
|
|
|
// use only.
|
2020-03-23 13:06:51 +00:00
|
|
|
// _desktopSharingSourceDevice: 'sample-id-or-label',
|
2019-01-10 23:39:17 +00:00
|
|
|
|
2019-07-19 19:35:47 +00:00
|
|
|
// If true, any checks to handoff to another application will be prevented
|
|
|
|
// and instead the app will continue to display in the current browser.
|
2020-03-23 13:06:51 +00:00
|
|
|
// disableDeepLinking: false,
|
2019-07-19 19:35:47 +00:00
|
|
|
|
2019-05-23 16:07:05 +00:00
|
|
|
// A property to disable the right click context menu for localVideo
|
|
|
|
// the menu has option to flip the locally seen video for local presentations
|
2020-03-23 13:06:51 +00:00
|
|
|
// disableLocalVideoFlip: false,
|
2019-05-23 16:07:05 +00:00
|
|
|
|
2020-04-09 15:33:14 +00:00
|
|
|
// Mainly privacy related settings
|
|
|
|
|
|
|
|
// Disables all invite functions from the app (share, invite, dial out...etc)
|
|
|
|
// disableInviteFunctions: true,
|
|
|
|
|
|
|
|
// Disables storing the room name to the recents list
|
|
|
|
// doNotStoreRoom: true,
|
|
|
|
|
2019-10-16 18:36:39 +00:00
|
|
|
// Deployment specific URLs.
|
2019-10-16 11:11:02 +00:00
|
|
|
// deploymentUrls: {
|
2019-10-16 18:36:39 +00:00
|
|
|
// // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
|
|
|
|
// // user documentation.
|
|
|
|
// userDocumentationURL: 'https://docs.example.com/video-meetings.html',
|
|
|
|
// // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
|
|
|
|
// // to the specified URL for an app download page.
|
|
|
|
// downloadAppsUrl: 'https://docs.example.com/our-apps.html'
|
2020-03-23 13:06:51 +00:00
|
|
|
// },
|
2019-10-16 11:11:02 +00:00
|
|
|
|
2020-03-25 21:28:31 +00:00
|
|
|
// Options related to the remote participant menu.
|
|
|
|
// remoteVideoMenu: {
|
|
|
|
// // If set to true the 'Kick out' button will be disabled.
|
|
|
|
// disableKick: true
|
|
|
|
// },
|
|
|
|
|
|
|
|
// If set to true all muting operations of remote participants will be disabled.
|
|
|
|
// disableRemoteMute: true,
|
|
|
|
|
2020-05-22 06:36:24 +00:00
|
|
|
/**
|
|
|
|
External API url used to receive branding specific information.
|
|
|
|
If there is no url set or there are missing fields, the defaults are applied.
|
|
|
|
None of the fieds are mandatory and the response must have the shape:
|
|
|
|
{
|
|
|
|
// The hex value for the colour used as background
|
|
|
|
backgroundColor: '#fff',
|
|
|
|
// The url for the image used as background
|
|
|
|
backgroundImageUrl: 'https://example.com/background-img.png',
|
|
|
|
// The anchor url used when clicking the logo image
|
|
|
|
logoClickUrl: 'https://example-company.org',
|
|
|
|
// The url used for the image used as logo
|
|
|
|
logoImageUrl: 'https://example.com/logo-img.png'
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
// brandingDataUrl: '',
|
|
|
|
|
2020-06-29 12:17:35 +00:00
|
|
|
// The URL of the moderated rooms microservice, if available. If it
|
|
|
|
// is present, a link to the service will be rendered on the welcome page,
|
|
|
|
// otherwise the app doesn't render it.
|
|
|
|
// moderatedRoomServiceUrl: 'https://moderated.jitsi-meet.example.com',
|
|
|
|
|
2017-12-12 19:16:55 +00:00
|
|
|
// List of undocumented settings used in jitsi-meet
|
|
|
|
/**
|
2018-07-02 21:22:51 +00:00
|
|
|
_immediateReloadThreshold
|
2017-12-12 19:16:55 +00:00
|
|
|
autoRecord
|
|
|
|
autoRecordToken
|
|
|
|
debug
|
|
|
|
debugAudioLevels
|
|
|
|
deploymentInfo
|
|
|
|
dialInConfCodeUrl
|
|
|
|
dialInNumbersUrl
|
|
|
|
dialOutAuthUrl
|
|
|
|
dialOutCodesUrl
|
|
|
|
disableRemoteControl
|
|
|
|
displayJids
|
|
|
|
etherpad_base
|
|
|
|
externalConnectUrl
|
|
|
|
firefox_fake_device
|
2018-03-21 18:26:52 +00:00
|
|
|
googleApiApplicationClientID
|
2017-12-12 19:16:55 +00:00
|
|
|
iAmRecorder
|
|
|
|
iAmSipGateway
|
Google & Microsoft calendar API integration (#3340)
* Refactor calendar-sync feature to be loaded on web.
For the web part it just adds new property to enable/disable calendar web integration, disabled by default.
* Initial implementation of retrieving google calendar events.
* Initial implementation of retrieving microsoft calendar events.
* Fixes comments.
* Rework to use the promise part of microsoft-graph-client api.
* Moves dispatching some actions, fixing comments.
* Makes sure we do not initializeClient google-api client multiple times.
* Do not try to login when fetching calendar entries.
The case where there is a calendar type google selected, but not logged in, trying to login on loading welcome page will show a warning that it tried to open a popup, which was denied by browser.
* Updates profile display data on sign in.
* Propagate google-api state to calendar-sync only if we use google cal.
* Adds sign out action.
* Clears the event listener when the popup closes.
* Clears calendarIntegrationInstance on signOut.
* WIP: UI for calendar settings, refactor auth flows
* Clean up some unused constants, functions and exports.
* break circular dependency of function and constant
* Exports only isCalendarEnabled from functions.
* Checks isSignedIn when doing fetchCalendarEntries on web.
* address comments
List microsoftApiApplicationClientID in undocument config.
remove unused SET_CALENDAR_TYPE action
use helper for calendar enabled in bootstrap
reorder actions
reorder imports
change order of signin -> set type -> update profile
add logging for signout error
reword setting dialog desc to avoid redundancy
add jsdoc to microsoft button props
reorder calendar constants
move default state to reducer (not reused anywhere)
update comment about calendar-sync due to removal of getCalendarState
update comment for getCalendarIntegration
remove vague comment
alpha order reducer, return default state on reset
alpha order persistence registry
remove unnecessary getType from apis
update comments in microsoftCalendar
alpha order google-api exports, use api.get in loadGoogleAPI
set jsdoc for google signin props
alpha order googleapi methods
fix calendartab docs
* Moves fetching calendar from APP_WILL_MOUNT to SET_CONFIG.
The web part needs configuration in order to refresh tokens (Microsoft).
* Fixes storing token expire time and refreshing tokens in Microsoft impl.
* Address comments
updateProfile changed to getCurrentEmail
rename result to results
stop storing integration in redux, store if ready for use
use existing helpers to parse redirect url
* update jsdocs, get google app id from redux
* clear integration instead of actual sign out
2018-08-15 20:11:54 +00:00
|
|
|
microsoftApiApplicationClientID
|
2017-12-12 19:16:55 +00:00
|
|
|
peopleSearchQueryTypes
|
|
|
|
peopleSearchUrl
|
|
|
|
requireDisplayName
|
|
|
|
tokenAuthUrl
|
|
|
|
*/
|
|
|
|
|
|
|
|
// List of undocumented settings used in lib-jitsi-meet
|
|
|
|
/**
|
|
|
|
_peerConnStatusOutOfLastNTimeout
|
|
|
|
_peerConnStatusRtcMuteTimeout
|
|
|
|
abTesting
|
|
|
|
avgRtpStatsN
|
|
|
|
callStatsConfIDNamespace
|
|
|
|
callStatsCustomScriptUrl
|
|
|
|
desktopSharingSources
|
|
|
|
disableAEC
|
|
|
|
disableAGC
|
|
|
|
disableAP
|
|
|
|
disableHPF
|
|
|
|
disableNS
|
|
|
|
enableLipSync
|
|
|
|
enableTalkWhileMuted
|
|
|
|
forceJVB121Ratio
|
|
|
|
hiddenDomain
|
|
|
|
ignoreStartMuted
|
|
|
|
nick
|
|
|
|
startBitrate
|
|
|
|
*/
|
2018-07-19 22:11:47 +00:00
|
|
|
|
2020-03-23 13:06:51 +00:00
|
|
|
|
2020-03-23 18:56:32 +00:00
|
|
|
// Allow all above example options to include a trailing comma and
|
|
|
|
// prevent fear when commenting out the last value.
|
|
|
|
makeJsonParserHappy: 'even if last key had a trailing comma'
|
|
|
|
|
|
|
|
// no configuration value should follow this line.
|
2014-07-01 14:02:34 +00:00
|
|
|
};
|
2017-10-16 20:37:13 +00:00
|
|
|
|
2017-10-12 23:02:29 +00:00
|
|
|
/* eslint-enable no-unused-vars, no-var */
|