2017-10-12 23:02:29 +00:00
|
|
|
/* eslint-disable no-unused-vars, no-var, max-len */
|
2017-10-16 20:37:13 +00:00
|
|
|
|
2017-10-12 23:02:29 +00:00
|
|
|
var interfaceConfig = {
|
2016-09-13 04:10:18 +00:00
|
|
|
// TO FIX: this needs to be handled from SASS variables. There are some
|
|
|
|
// methods allowing to use variables both in css and js.
|
|
|
|
DEFAULT_BACKGROUND: '#474747',
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2018-06-15 21:41:37 +00:00
|
|
|
/**
|
|
|
|
* Whether or not the blurred video background for large video should be
|
|
|
|
* displayed on browsers that can support it.
|
|
|
|
*/
|
|
|
|
DISABLE_VIDEO_BACKGROUND: false,
|
|
|
|
|
2014-09-18 12:39:40 +00:00
|
|
|
INITIAL_TOOLBAR_TIMEOUT: 20000,
|
|
|
|
TOOLBAR_TIMEOUT: 4000,
|
2018-04-16 15:06:11 +00:00
|
|
|
TOOLBAR_ALWAYS_VISIBLE: false,
|
2017-10-12 23:02:29 +00:00
|
|
|
DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
|
|
|
|
DEFAULT_LOCAL_DISPLAY_NAME: 'me',
|
2014-09-24 14:44:52 +00:00
|
|
|
SHOW_JITSI_WATERMARK: true,
|
2017-10-12 23:02:29 +00:00
|
|
|
JITSI_WATERMARK_LINK: 'https://jitsi.org',
|
|
|
|
|
2017-01-03 23:23:28 +00:00
|
|
|
// if watermark is disabled by default, it can be shown only for guests
|
|
|
|
SHOW_WATERMARK_FOR_GUESTS: true,
|
2014-09-24 14:44:52 +00:00
|
|
|
SHOW_BRAND_WATERMARK: false,
|
2017-10-12 23:02:29 +00:00
|
|
|
BRAND_WATERMARK_LINK: '',
|
2014-10-01 19:21:57 +00:00
|
|
|
SHOW_POWERED_BY: false,
|
2018-04-14 00:00:40 +00:00
|
|
|
SHOW_DEEP_LINKING_IMAGE: false,
|
2014-11-04 14:14:02 +00:00
|
|
|
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
|
2018-02-22 04:58:55 +00:00
|
|
|
DISPLAY_WELCOME_PAGE_CONTENT: true,
|
2019-10-15 07:33:36 +00:00
|
|
|
DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false,
|
2017-10-12 23:02:29 +00:00
|
|
|
APP_NAME: 'Jitsi Meet',
|
2018-04-14 00:00:40 +00:00
|
|
|
NATIVE_APP_NAME: 'Jitsi Meet',
|
2019-03-15 11:07:45 +00:00
|
|
|
PROVIDER_NAME: 'Jitsi',
|
2020-03-27 15:40:17 +00:00
|
|
|
LANG_DETECTION: true, // Allow i18n to detect the system language
|
2014-12-17 12:45:04 +00:00
|
|
|
INVITATION_POWERED_BY: true,
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2016-10-12 12:33:07 +00:00
|
|
|
/**
|
|
|
|
* If we should show authentication block in profile
|
|
|
|
*/
|
|
|
|
AUTHENTICATION_ENABLE: true,
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2016-10-11 13:30:28 +00:00
|
|
|
/**
|
2018-06-06 05:19:28 +00:00
|
|
|
* The name of the toolbar buttons to display in the toolbar. If present,
|
|
|
|
* the button will display. Exceptions are "livestreaming" and "recording"
|
|
|
|
* which also require being a moderator and some values in config.js to be
|
|
|
|
* enabled. Also, the "profile" button will not display for user's with a
|
|
|
|
* jwt.
|
2016-10-11 13:30:28 +00:00
|
|
|
*/
|
|
|
|
TOOLBAR_BUTTONS: [
|
2018-07-26 16:33:40 +00:00
|
|
|
'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
|
|
|
|
'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
|
|
|
|
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
|
2018-08-08 18:48:23 +00:00
|
|
|
'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
|
2020-04-16 11:26:44 +00:00
|
|
|
'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone',
|
|
|
|
'e2ee'
|
2018-03-07 00:28:19 +00:00
|
|
|
],
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2018-08-27 15:13:59 +00:00
|
|
|
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2015-10-06 20:02:46 +00:00
|
|
|
// Determines how the video would fit the screen. 'both' would fit the whole
|
|
|
|
// screen, 'height' would fit the original video height to the height of the
|
|
|
|
// screen, 'width' would fit the original video width to the width of the
|
|
|
|
// screen respecting ratio.
|
|
|
|
VIDEO_LAYOUT_FIT: 'both',
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2015-08-10 17:59:12 +00:00
|
|
|
/**
|
|
|
|
* Whether to only show the filmstrip (and hide the toolbar).
|
|
|
|
*/
|
2016-01-19 23:10:44 +00:00
|
|
|
filmStripOnly: false,
|
2017-05-17 22:40:41 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether to show thumbnails in filmstrip as a column instead of as a row.
|
|
|
|
*/
|
2017-05-26 16:21:31 +00:00
|
|
|
VERTICAL_FILMSTRIP: true,
|
2017-05-17 22:40:41 +00:00
|
|
|
|
2017-10-12 23:02:29 +00:00
|
|
|
// A html text to be shown to guests on the close page, false disables it
|
2016-12-30 16:59:21 +00:00
|
|
|
CLOSE_PAGE_GUEST_HINT: false,
|
2020-03-12 13:53:59 +00:00
|
|
|
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
|
2016-03-15 20:28:57 +00:00
|
|
|
RANDOM_AVATAR_URL_PREFIX: false,
|
|
|
|
RANDOM_AVATAR_URL_SUFFIX: false,
|
2016-09-15 02:20:54 +00:00
|
|
|
FILM_STRIP_MAX_HEIGHT: 120,
|
2017-10-12 23:02:29 +00:00
|
|
|
|
2016-09-20 04:25:03 +00:00
|
|
|
// Enables feedback star animation.
|
2016-09-22 09:52:53 +00:00
|
|
|
ENABLE_FEEDBACK_ANIMATION: false,
|
2016-09-28 21:31:40 +00:00
|
|
|
DISABLE_FOCUS_INDICATOR: false,
|
2016-10-10 22:03:28 +00:00
|
|
|
DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
|
2017-06-05 18:19:25 +00:00
|
|
|
|
2018-07-17 17:31:12 +00:00
|
|
|
/**
|
|
|
|
* Whether the speech to text transcription subtitles panel is disabled.
|
|
|
|
* If {@code undefined}, defaults to {@code false}.
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
|
|
|
DISABLE_TRANSCRIPTION_SUBTITLES: false,
|
|
|
|
|
2017-06-05 18:19:25 +00:00
|
|
|
/**
|
|
|
|
* Whether the ringing sound in the call/ring overlay is disabled. If
|
|
|
|
* {@code undefined}, defaults to {@code false}.
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
2016-10-11 00:07:47 +00:00
|
|
|
DISABLE_RINGING: false,
|
2017-10-12 23:02:29 +00:00
|
|
|
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
|
|
|
|
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
|
2016-11-07 22:50:08 +00:00
|
|
|
POLICY_LOGO: null,
|
2017-10-12 23:02:29 +00:00
|
|
|
LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
|
|
|
|
REMOTE_THUMBNAIL_RATIO: 1, // 1:1
|
2017-02-15 23:57:57 +00:00
|
|
|
// Documentation reference for the live streaming feature.
|
2017-10-12 23:02:29 +00:00
|
|
|
LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
|
2017-02-28 05:34:34 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether the mobile app Jitsi Meet is to be promoted to participants
|
2017-06-05 18:19:25 +00:00
|
|
|
* attempting to join a conference in a mobile Web browser. If
|
|
|
|
* {@code undefined}, defaults to {@code true}.
|
2017-02-28 05:34:34 +00:00
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
2017-05-03 16:47:59 +00:00
|
|
|
MOBILE_APP_PROMO: true,
|
2017-06-14 18:41:22 +00:00
|
|
|
|
2017-06-09 19:22:07 +00:00
|
|
|
/**
|
|
|
|
* Maximum coeficient of the ratio of the large video to the visible area
|
|
|
|
* after the large video is scaled to fit the window.
|
|
|
|
*
|
|
|
|
* @type {number}
|
|
|
|
*/
|
2017-09-26 16:55:09 +00:00
|
|
|
MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
|
2017-06-14 18:41:22 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* If indicated some of the error dialogs may point to the support URL for
|
|
|
|
* help.
|
|
|
|
*/
|
2020-03-24 05:04:32 +00:00
|
|
|
SUPPORT_URL: 'https://community.jitsi.org/',
|
2017-09-26 16:55:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether the connection indicator icon should hide itself based on
|
|
|
|
* connection strength. If true, the connection indicator will remain
|
|
|
|
* displayed while the participant has a weak connection and will hide
|
|
|
|
* itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
|
|
|
|
* strong.
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
2017-10-20 20:44:20 +00:00
|
|
|
CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true,
|
2017-09-26 16:55:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* How long the connection indicator should remain displayed before hiding.
|
|
|
|
* Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
|
|
|
|
*
|
|
|
|
* @type {number}
|
|
|
|
*/
|
2017-11-22 10:18:08 +00:00
|
|
|
CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
|
2017-10-03 16:30:42 +00:00
|
|
|
|
2018-07-06 15:24:38 +00:00
|
|
|
/**
|
|
|
|
* If true, hides the connection indicators completely.
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
|
|
|
CONNECTION_INDICATOR_DISABLED: false,
|
|
|
|
|
2017-11-22 10:18:08 +00:00
|
|
|
/**
|
|
|
|
* If true, hides the video quality label indicating the resolution status
|
|
|
|
* of the current large video.
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
2018-08-01 16:41:54 +00:00
|
|
|
VIDEO_QUALITY_LABEL_DISABLED: false,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* If true, will display recent list
|
|
|
|
*
|
|
|
|
* @type {boolean}
|
|
|
|
*/
|
2019-06-20 13:02:15 +00:00
|
|
|
RECENT_LIST_ENABLED: true,
|
|
|
|
|
|
|
|
// Names of browsers which should show a warning stating the current browser
|
|
|
|
// has a suboptimal experience. Browsers which are not listed as optimal or
|
|
|
|
// unsupported are considered suboptimal. Valid values are:
|
2019-06-21 15:27:05 +00:00
|
|
|
// chrome, chromium, edge, electron, firefox, nwjs, opera, safari
|
2020-04-30 21:27:42 +00:00
|
|
|
OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
|
2019-06-20 13:02:15 +00:00
|
|
|
|
|
|
|
// Browsers, in addition to those which do not fully support WebRTC, that
|
|
|
|
// are not supported and should show the unsupported browser page.
|
2019-06-21 21:26:03 +00:00
|
|
|
UNSUPPORTED_BROWSERS: [],
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A UX mode where the last screen share participant is automatically
|
|
|
|
* pinned. Valid values are the string "remote-only" so remote participants
|
|
|
|
* get pinned but not local, otherwise any truthy value for all participants,
|
|
|
|
* and any falsy value to disable the feature.
|
|
|
|
*
|
|
|
|
* Note: this mode is experimental and subject to breakage.
|
|
|
|
*/
|
2019-09-19 13:28:57 +00:00
|
|
|
AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
|
|
|
|
|
2020-02-04 16:06:43 +00:00
|
|
|
/**
|
|
|
|
* If true, presence status: busy, calling, connected etc. is not displayed.
|
|
|
|
*/
|
2020-01-14 09:41:16 +00:00
|
|
|
DISABLE_PRESENCE_STATUS: false,
|
|
|
|
|
2020-02-04 16:06:43 +00:00
|
|
|
/**
|
|
|
|
* If true, notifications regarding joining/leaving are no longer displayed.
|
|
|
|
*/
|
2020-01-23 09:32:52 +00:00
|
|
|
DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
|
2020-01-23 14:15:27 +00:00
|
|
|
|
2020-01-23 09:32:52 +00:00
|
|
|
/**
|
|
|
|
* Decides whether the chrome extension banner should be rendered on the landing page and during the meeting.
|
|
|
|
* If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
|
|
|
|
* being already installed is done before rendering.
|
|
|
|
*/
|
2020-04-29 10:59:03 +00:00
|
|
|
SHOW_CHROME_EXTENSION_BANNER: false,
|
2017-12-04 23:16:16 +00:00
|
|
|
|
2020-03-18 13:58:16 +00:00
|
|
|
/**
|
|
|
|
* When enabled, the kick participant button will not be presented for users without a JWT
|
|
|
|
*/
|
2020-04-29 10:59:03 +00:00
|
|
|
// HIDE_KICK_BUTTON_FOR_GUESTS: false,
|
2020-03-18 13:58:16 +00:00
|
|
|
|
2018-08-08 18:48:23 +00:00
|
|
|
/**
|
|
|
|
* How many columns the tile view can expand to. The respected range is
|
|
|
|
* between 1 and 5.
|
|
|
|
*/
|
|
|
|
// TILE_VIEW_MAX_COLUMNS: 5,
|
|
|
|
|
2017-12-04 23:16:16 +00:00
|
|
|
/**
|
|
|
|
* Specify custom URL for downloading android mobile app.
|
|
|
|
*/
|
|
|
|
// MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Specify URL for downloading ios mobile app.
|
|
|
|
*/
|
|
|
|
// MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Specify mobile app scheme for opening the app from the mobile browser.
|
|
|
|
*/
|
2019-01-30 12:16:50 +00:00
|
|
|
// APP_SCHEME: 'org.jitsi.meet',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Specify the Android app package name.
|
|
|
|
*/
|
2019-03-21 21:06:33 +00:00
|
|
|
// ANDROID_APP_PACKAGE: 'org.jitsi.meet',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Override the behavior of some notifications to remain displayed until
|
|
|
|
* explicitly dismissed through a user action. The value is how long, in
|
|
|
|
* milliseconds, those notifications should remain displayed.
|
|
|
|
*/
|
|
|
|
// ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000,
|
2019-09-25 17:49:29 +00:00
|
|
|
|
|
|
|
// List of undocumented settings
|
|
|
|
/**
|
|
|
|
INDICATOR_FONT_SIZES
|
|
|
|
MOBILE_DYNAMIC_LINK
|
|
|
|
PHONE_NUMBER_REGEX
|
|
|
|
*/
|
2020-04-29 10:59:03 +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.
|
2016-10-03 16:12:04 +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, max-len */
|