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
|
|
|
// Configuration
|
|
|
|
//
|
|
|
|
|
|
|
|
// Alternative location for the configuration.
|
2017-10-12 23:02:29 +00:00
|
|
|
// configLocation: './config.json',
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// Custom function which given the URL path should return a room name.
|
2017-10-12 23:02:29 +00:00
|
|
|
// getroomnode: function (path) { return 'someprefixpossiblybasedonpath'; },
|
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',
|
|
|
|
|
|
|
|
// 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: {
|
2017-08-07 11:51:07 +00:00
|
|
|
// Enables experimental simulcast support on Firefox.
|
2017-07-20 07:48:28 +00:00
|
|
|
enableFirefoxSimulcast: false,
|
2017-10-12 23:02:29 +00:00
|
|
|
|
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
|
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,
|
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
|
|
|
|
|
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
|
2018-01-19 17:50:03 +00:00
|
|
|
// util#browser#usesNewGumFlow. The constraints are independency from
|
2017-11-01 00:08:07 +00:00
|
|
|
// this config's resolution value. Defaults to requesting an ideal aspect
|
2018-07-17 15:18:32 +00:00
|
|
|
// ratio of 16:9 with an ideal resolution of 720.
|
2017-11-01 00:08:07 +00:00
|
|
|
// constraints: {
|
|
|
|
// video: {
|
|
|
|
// aspectRatio: 16 / 9,
|
|
|
|
// 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
|
|
|
// Suspend sending video if bandwidth estimation is too low. This may cause
|
|
|
|
// problems with audio playback. Disabled until these are fixed.
|
|
|
|
disableSuspendVideo: true,
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
2015-09-02 22:29:53 +00:00
|
|
|
// The ID of the jidesha extension for Chrome.
|
2017-01-19 23:29:48 +00:00
|
|
|
desktopSharingChromeExtId: null,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2017-01-19 23:29:48 +00:00
|
|
|
// Whether desktop sharing should be disabled on Chrome.
|
2019-02-12 09:54:09 +00:00
|
|
|
// desktopSharingChromeDisabled: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2015-09-02 22:29:53 +00:00
|
|
|
// The media sources to use when using screen sharing with the Chrome
|
|
|
|
// extension.
|
2017-10-12 23:02:29 +00:00
|
|
|
desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
|
2017-08-07 11:51:07 +00:00
|
|
|
|
2015-09-02 22:29:53 +00:00
|
|
|
// Required version of Chrome extension
|
|
|
|
desktopSharingChromeMinExtVersion: '0.1',
|
|
|
|
|
|
|
|
// Whether desktop sharing should be disabled on Firefox.
|
2019-02-12 09:54:09 +00:00
|
|
|
// desktopSharingFirefoxDisabled: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
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
|
|
|
|
2017-08-07 11:51:07 +00:00
|
|
|
// Misc
|
|
|
|
|
|
|
|
// Default value for the channel "last N" attribute. -1 for unlimited.
|
|
|
|
channelLastN: -1,
|
|
|
|
|
|
|
|
// 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,
|
|
|
|
|
|
|
|
// Defines the minimum number of participants to start a call (the default
|
|
|
|
// is set in Jicofo and set to 2).
|
|
|
|
// minParticipants: 2,
|
|
|
|
|
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
|
|
|
|
|
|
|
// Enable IPv6 support.
|
2017-10-12 23:02:29 +00:00
|
|
|
// useIPv6: true,
|
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
|
|
|
|
//
|
|
|
|
|
|
|
|
// Use display name as XMPP nickname.
|
2017-10-12 23:02:29 +00:00
|
|
|
// useNicks: false,
|
2017-08-07 11:51:07 +00:00
|
|
|
|
|
|
|
// 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,
|
|
|
|
|
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
|
|
|
|
|
|
|
// 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
|
|
|
|
2017-10-05 18:28:19 +00:00
|
|
|
// enables callstatsUsername to be reported as statsId and used
|
|
|
|
// by callstats as repoted remote id
|
|
|
|
// enableStatsID: false
|
|
|
|
|
|
|
|
// enables sending participants display name to callstats
|
|
|
|
// enableDisplayNameInStats: 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: [
|
2017-10-12 23:02:29 +00:00
|
|
|
{ urls: 'stun:stun.l.google.com:19302' },
|
|
|
|
{ urls: 'stun:stun1.l.google.com:19302' },
|
|
|
|
{ urls: 'stun:stun2.l.google.com:19302' }
|
2017-06-28 09:59:46 +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).
|
2017-06-29 08:48:25 +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'
|
|
|
|
|
|
|
|
// The Amplitude APP Key:
|
|
|
|
// amplitudeAPPKey: '<APP_KEY>'
|
|
|
|
|
|
|
|
// Array of script URLs to load as lib-jitsi-meet "analytics handlers".
|
|
|
|
// scriptURLs: [
|
|
|
|
// "libs/analytics-ga.min.js", // google-analytics
|
|
|
|
// "https://example.com/my-custom-analytics.js"
|
|
|
|
// ],
|
|
|
|
},
|
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"
|
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'
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
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,
|
|
|
|
// }
|
|
|
|
|
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.
|
|
|
|
// _desktopSharingSourceDevice: 'sample-id-or-label'
|
|
|
|
|
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
|
|
|
|
// disableLocalVideoFlip: false
|
|
|
|
|
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
|
|
|
|
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 */
|