ref(interfaceConfig): Order alphabetically.
This commit is contained in:
parent
6bd64ee552
commit
4ac9ea258c
|
@ -1,131 +1,23 @@
|
||||||
/* eslint-disable no-unused-vars, no-var, max-len */
|
/* eslint-disable no-unused-vars, no-var, max-len */
|
||||||
|
/* eslint sort-keys: ["error", "asc", {"caseSensitive": false}] */
|
||||||
|
|
||||||
var interfaceConfig = {
|
var interfaceConfig = {
|
||||||
DEFAULT_BACKGROUND: '#474747',
|
|
||||||
DEFAULT_LOGO_URL: 'images/watermark.png',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether or not the blurred video background for large video should be
|
|
||||||
* displayed on browsers that can support it.
|
|
||||||
*/
|
|
||||||
DISABLE_VIDEO_BACKGROUND: false,
|
|
||||||
|
|
||||||
INITIAL_TOOLBAR_TIMEOUT: 20000,
|
|
||||||
TOOLBAR_TIMEOUT: 4000,
|
|
||||||
TOOLBAR_ALWAYS_VISIBLE: false,
|
|
||||||
DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
|
|
||||||
DEFAULT_LOCAL_DISPLAY_NAME: 'me',
|
|
||||||
SHOW_JITSI_WATERMARK: true,
|
|
||||||
JITSI_WATERMARK_LINK: 'https://jitsi.org',
|
|
||||||
|
|
||||||
// if watermark is disabled by default, it can be shown only for guests
|
|
||||||
SHOW_WATERMARK_FOR_GUESTS: true,
|
|
||||||
SHOW_BRAND_WATERMARK: false,
|
|
||||||
BRAND_WATERMARK_LINK: '',
|
|
||||||
SHOW_POWERED_BY: false,
|
|
||||||
SHOW_DEEP_LINKING_IMAGE: false,
|
|
||||||
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
|
|
||||||
DISPLAY_WELCOME_PAGE_CONTENT: true,
|
|
||||||
DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false,
|
|
||||||
APP_NAME: 'Jitsi Meet',
|
APP_NAME: 'Jitsi Meet',
|
||||||
NATIVE_APP_NAME: 'Jitsi Meet',
|
|
||||||
PROVIDER_NAME: 'Jitsi',
|
|
||||||
LANG_DETECTION: true, // Allow i18n to detect the system language
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Hide the invite prompt in the header when alone in the meeting.
|
|
||||||
*/
|
|
||||||
HIDE_INVITE_MORE_HEADER: false,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
TOOLBAR_BUTTONS: [
|
|
||||||
'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
|
|
||||||
'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
|
|
||||||
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
|
|
||||||
'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
|
|
||||||
'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security'
|
|
||||||
],
|
|
||||||
|
|
||||||
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
|
|
||||||
|
|
||||||
// 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',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to only show the filmstrip (and hide the toolbar).
|
|
||||||
*/
|
|
||||||
filmStripOnly: false,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to show thumbnails in filmstrip as a column instead of as a row.
|
|
||||||
*/
|
|
||||||
VERTICAL_FILMSTRIP: true,
|
|
||||||
|
|
||||||
// A html text to be shown to guests on the close page, false disables it
|
|
||||||
CLOSE_PAGE_GUEST_HINT: false,
|
|
||||||
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
|
|
||||||
FILM_STRIP_MAX_HEIGHT: 120,
|
|
||||||
|
|
||||||
// Enables feedback star animation.
|
|
||||||
ENABLE_FEEDBACK_ANIMATION: false,
|
|
||||||
DISABLE_FOCUS_INDICATOR: false,
|
|
||||||
DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the speech to text transcription subtitles panel is disabled.
|
|
||||||
* If {@code undefined}, defaults to {@code false}.
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
*/
|
|
||||||
DISABLE_TRANSCRIPTION_SUBTITLES: false,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the ringing sound in the call/ring overlay is disabled. If
|
|
||||||
* {@code undefined}, defaults to {@code false}.
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
*/
|
|
||||||
DISABLE_RINGING: false,
|
|
||||||
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
|
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
|
||||||
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
|
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
|
||||||
POLICY_LOGO: null,
|
|
||||||
LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
|
|
||||||
REMOTE_THUMBNAIL_RATIO: 1, // 1:1
|
|
||||||
// Documentation reference for the live streaming feature.
|
|
||||||
LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the mobile app Jitsi Meet is to be promoted to participants
|
* A UX mode where the last screen share participant is automatically
|
||||||
* attempting to join a conference in a mobile Web browser. If
|
* pinned. Valid values are the string "remote-only" so remote participants
|
||||||
* {@code undefined}, defaults to {@code true}.
|
* get pinned but not local, otherwise any truthy value for all participants,
|
||||||
|
* and any falsy value to disable the feature.
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* Note: this mode is experimental and subject to breakage.
|
||||||
*/
|
*/
|
||||||
MOBILE_APP_PROMO: true,
|
AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
|
||||||
|
BRAND_WATERMARK_LINK: '',
|
||||||
/**
|
|
||||||
* 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}
|
|
||||||
*/
|
|
||||||
MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
|
|
||||||
|
|
||||||
/*
|
|
||||||
* If indicated some of the error dialogs may point to the support URL for
|
|
||||||
* help.
|
|
||||||
*/
|
|
||||||
SUPPORT_URL: 'https://community.jitsi.org/',
|
|
||||||
|
|
||||||
|
CLOSE_PAGE_GUEST_HINT: false, // A html text to be shown to guests on the close page, false disables it
|
||||||
/**
|
/**
|
||||||
* Whether the connection indicator icon should hide itself based on
|
* Whether the connection indicator icon should hide itself based on
|
||||||
* connection strength. If true, the connection indicator will remain
|
* connection strength. If true, the connection indicator will remain
|
||||||
|
@ -152,51 +44,112 @@ var interfaceConfig = {
|
||||||
*/
|
*/
|
||||||
CONNECTION_INDICATOR_DISABLED: false,
|
CONNECTION_INDICATOR_DISABLED: false,
|
||||||
|
|
||||||
/**
|
DEFAULT_BACKGROUND: '#474747',
|
||||||
* If true, hides the video quality label indicating the resolution status
|
DEFAULT_LOCAL_DISPLAY_NAME: 'me',
|
||||||
* of the current large video.
|
DEFAULT_LOGO_URL: 'images/watermark.png',
|
||||||
*
|
DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
|
||||||
* @type {boolean}
|
|
||||||
*/
|
|
||||||
VIDEO_QUALITY_LABEL_DISABLED: false,
|
|
||||||
|
|
||||||
/**
|
DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
|
||||||
* If true, will display recent list
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
*/
|
|
||||||
RECENT_LIST_ENABLED: true,
|
|
||||||
|
|
||||||
// Names of browsers which should show a warning stating the current browser
|
DISABLE_FOCUS_INDICATOR: false,
|
||||||
// has a suboptimal experience. Browsers which are not listed as optimal or
|
|
||||||
// unsupported are considered suboptimal. Valid values are:
|
|
||||||
// chrome, chromium, edge, electron, firefox, nwjs, opera, safari
|
|
||||||
OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
|
|
||||||
|
|
||||||
// Browsers, in addition to those which do not fully support WebRTC, that
|
|
||||||
// are not supported and should show the unsupported browser page.
|
|
||||||
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.
|
|
||||||
*/
|
|
||||||
AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If true, presence status: busy, calling, connected etc. is not displayed.
|
|
||||||
*/
|
|
||||||
DISABLE_PRESENCE_STATUS: false,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If true, notifications regarding joining/leaving are no longer displayed.
|
* If true, notifications regarding joining/leaving are no longer displayed.
|
||||||
*/
|
*/
|
||||||
DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
|
DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, presence status: busy, calling, connected etc. is not displayed.
|
||||||
|
*/
|
||||||
|
DISABLE_PRESENCE_STATUS: false,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the ringing sound in the call/ring overlay is disabled. If
|
||||||
|
* {@code undefined}, defaults to {@code false}.
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
DISABLE_RINGING: false,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the speech to text transcription subtitles panel is disabled.
|
||||||
|
* If {@code undefined}, defaults to {@code false}.
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
DISABLE_TRANSCRIPTION_SUBTITLES: false,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not the blurred video background for large video should be
|
||||||
|
* displayed on browsers that can support it.
|
||||||
|
*/
|
||||||
|
DISABLE_VIDEO_BACKGROUND: false,
|
||||||
|
|
||||||
|
DISPLAY_WELCOME_PAGE_CONTENT: true,
|
||||||
|
DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false,
|
||||||
|
|
||||||
|
ENABLE_FEEDBACK_ANIMATION: false, // Enables feedback star animation.
|
||||||
|
|
||||||
|
FILM_STRIP_MAX_HEIGHT: 120,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether to only show the filmstrip (and hide the toolbar).
|
||||||
|
*/
|
||||||
|
filmStripOnly: false,
|
||||||
|
|
||||||
|
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hide the invite prompt in the header when alone in the meeting.
|
||||||
|
*/
|
||||||
|
HIDE_INVITE_MORE_HEADER: false,
|
||||||
|
|
||||||
|
INITIAL_TOOLBAR_TIMEOUT: 20000,
|
||||||
|
JITSI_WATERMARK_LINK: 'https://jitsi.org',
|
||||||
|
|
||||||
|
LANG_DETECTION: true, // Allow i18n to detect the system language
|
||||||
|
LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live', // Documentation reference for the live streaming feature.
|
||||||
|
LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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}
|
||||||
|
*/
|
||||||
|
MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the mobile app Jitsi Meet is to be promoted to participants
|
||||||
|
* attempting to join a conference in a mobile Web browser. If
|
||||||
|
* {@code undefined}, defaults to {@code true}.
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
MOBILE_APP_PROMO: true,
|
||||||
|
|
||||||
|
NATIVE_APP_NAME: 'Jitsi Meet',
|
||||||
|
|
||||||
|
// 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:
|
||||||
|
// chrome, chromium, edge, electron, firefox, nwjs, opera, safari
|
||||||
|
OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
|
||||||
|
|
||||||
|
POLICY_LOGO: null,
|
||||||
|
PROVIDER_NAME: 'Jitsi',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, will display recent list
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
RECENT_LIST_ENABLED: true,
|
||||||
|
REMOTE_THUMBNAIL_RATIO: 1, // 1:1
|
||||||
|
|
||||||
|
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
|
||||||
|
SHOW_BRAND_WATERMARK: false,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decides whether the chrome extension banner should be rendered on the landing page and during the meeting.
|
* 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)
|
* If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
|
||||||
|
@ -204,6 +157,60 @@ var interfaceConfig = {
|
||||||
*/
|
*/
|
||||||
SHOW_CHROME_EXTENSION_BANNER: false,
|
SHOW_CHROME_EXTENSION_BANNER: false,
|
||||||
|
|
||||||
|
SHOW_DEEP_LINKING_IMAGE: false,
|
||||||
|
SHOW_JITSI_WATERMARK: true,
|
||||||
|
SHOW_POWERED_BY: false,
|
||||||
|
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
|
||||||
|
SHOW_WATERMARK_FOR_GUESTS: true, // if watermark is disabled by default, it can be shown only for guests
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If indicated some of the error dialogs may point to the support URL for
|
||||||
|
* help.
|
||||||
|
*/
|
||||||
|
SUPPORT_URL: 'https://community.jitsi.org/',
|
||||||
|
|
||||||
|
TOOLBAR_ALWAYS_VISIBLE: false,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
TOOLBAR_BUTTONS: [
|
||||||
|
'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
|
||||||
|
'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
|
||||||
|
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
|
||||||
|
'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
|
||||||
|
'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security'
|
||||||
|
],
|
||||||
|
|
||||||
|
TOOLBAR_TIMEOUT: 4000,
|
||||||
|
|
||||||
|
// Browsers, in addition to those which do not fully support WebRTC, that
|
||||||
|
// are not supported and should show the unsupported browser page.
|
||||||
|
UNSUPPORTED_BROWSERS: [],
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether to show thumbnails in filmstrip as a column instead of as a row.
|
||||||
|
*/
|
||||||
|
VERTICAL_FILMSTRIP: true,
|
||||||
|
|
||||||
|
// 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',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, hides the video quality label indicating the resolution status
|
||||||
|
* of the current large video.
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
VIDEO_QUALITY_LABEL_DISABLED: false
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When enabled, the kick participant button will not be presented for users without a JWT
|
* When enabled, the kick participant button will not be presented for users without a JWT
|
||||||
*/
|
*/
|
||||||
|
@ -258,12 +265,6 @@ var interfaceConfig = {
|
||||||
INDICATOR_FONT_SIZES
|
INDICATOR_FONT_SIZES
|
||||||
PHONE_NUMBER_REGEX
|
PHONE_NUMBER_REGEX
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eslint-enable no-unused-vars, no-var, max-len */
|
/* eslint-enable no-unused-vars, no-var, max-len */
|
||||||
|
|
Loading…
Reference in New Issue