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
|
|
|
|
2017-07-14 09:25:28 +00:00
|
|
|
/**
|
|
|
|
* In case the desktop sharing is disabled through the config the button
|
|
|
|
* will not be hidden, but displayed as disabled with this text us as
|
|
|
|
* a tooltip.
|
|
|
|
*/
|
|
|
|
DESKTOP_SHARING_BUTTON_DISABLED_TOOLTIP: null,
|
2014-09-18 12:39:40 +00:00
|
|
|
INITIAL_TOOLBAR_TIMEOUT: 20000,
|
|
|
|
TOOLBAR_TIMEOUT: 4000,
|
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,
|
2014-11-04 14:14:02 +00:00
|
|
|
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
|
2017-10-12 23:02:29 +00:00
|
|
|
APP_NAME: 'Jitsi Meet',
|
|
|
|
LANG_DETECTION: false, // 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
|
|
|
/**
|
|
|
|
* the toolbar buttons line is intentionally left in one line, to be able
|
|
|
|
* to easily override values or remove them using regex
|
|
|
|
*/
|
|
|
|
TOOLBAR_BUTTONS: [
|
2017-10-12 23:02:29 +00:00
|
|
|
|
|
|
|
// main toolbar
|
|
|
|
'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup',
|
|
|
|
|
|
|
|
// extended toolbar
|
|
|
|
'profile', 'contacts', 'info', 'chat', 'recording', 'etherpad', 'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip' ],
|
|
|
|
|
2016-10-11 13:30:28 +00:00
|
|
|
/**
|
|
|
|
* Main Toolbar Buttons
|
|
|
|
* All of them should be in TOOLBAR_BUTTONS
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
MAIN_TOOLBAR_BUTTONS: [ 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup' ],
|
|
|
|
SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ],
|
|
|
|
INVITE_OPTIONS: [ 'invite', 'dialout', 'addtocall' ],
|
|
|
|
|
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-09-07 20:53:46 +00:00
|
|
|
SHOW_CONTACTLIST_AVATARS: true,
|
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,
|
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
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2017-11-03 19:05:03 +00:00
|
|
|
SUPPORT_URL: 'https://github.com/jitsi/jitsi-meet/issues/new',
|
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}
|
|
|
|
*/
|
|
|
|
CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000
|
2017-10-03 16:30:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The name of the application connected to the "Add people" search service.
|
|
|
|
*/
|
|
|
|
// ADD_PEOPLE_APP_NAME: ""
|
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 */
|