web: update config.js and interface_config.js

pull/18/head
Saúl Ibarra Corretgé 6 years ago
parent 0014a19c2f
commit c475d537e6
  1. 53
      web/rootfs/defaults/config.js
  2. 51
      web/rootfs/defaults/interface_config.js

@ -99,13 +99,13 @@ var config = {
// used by browsers that return true from lib-jitsi-meet's // used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independency from // util#browser#usesNewGumFlow. The constraints are independency from
// this config's resolution value. Defaults to requesting an ideal aspect // this config's resolution value. Defaults to requesting an ideal aspect
// ratio of 16:9 with an ideal resolution of 1080p. // ratio of 16:9 with an ideal resolution of 720.
// constraints: { // constraints: {
// video: { // video: {
// aspectRatio: 16 / 9, // aspectRatio: 16 / 9,
// height: { // height: {
// ideal: 1080, // ideal: 720,
// max: 1080, // max: 720,
// min: 240 // min: 240
// } // }
// } // }
@ -142,9 +142,6 @@ var config = {
// Desktop sharing // Desktop sharing
// Enable / disable desktop sharing
// disableDesktopSharing: false,
// The ID of the jidesha extension for Chrome. // The ID of the jidesha extension for Chrome.
desktopSharingChromeExtId: null, desktopSharingChromeExtId: null,
@ -178,6 +175,10 @@ var config = {
// Whether to enable live streaming or not. // Whether to enable live streaming or not.
// liveStreamingEnabled: false, // liveStreamingEnabled: false,
// Transcription (in interface_config,
// subtitles and buttons can be configured)
// transcribingEnabled: false,
// Misc // Misc
// Default value for the channel "last N" attribute. -1 for unlimited. // Default value for the channel "last N" attribute. -1 for unlimited.
@ -248,10 +249,16 @@ var config = {
// edit their profile. // edit their profile.
enableUserRolesBasedOnToken: false, enableUserRolesBasedOnToken: false,
// Whether or not some features are checked based on token.
// enableFeaturesBasedOnToken: false,
// Message to show the users. Example: 'The service will be down for // Message to show the users. Example: 'The service will be down for
// maintenance at 01:00 AM GMT, // maintenance at 01:00 AM GMT,
// noticeMessage: '', // noticeMessage: '',
// Enables calendar integration, depends on googleApiApplicationClientID
// and microsoftApiApplicationClientID
// enableCalendarIntegration: false,
// Stats // Stats
// //
@ -344,8 +351,39 @@ var config = {
// userRegion: "asia" // userRegion: "asia"
} }
// 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'
//
// }
// 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,
// }
// List of undocumented settings used in jitsi-meet // List of undocumented settings used in jitsi-meet
/** /**
_immediateReloadThreshold
autoRecord autoRecord
autoRecordToken autoRecordToken
debug debug
@ -362,8 +400,10 @@ var config = {
externalConnectUrl externalConnectUrl
firefox_fake_device firefox_fake_device
googleApiApplicationClientID googleApiApplicationClientID
googleApiIOSClientID
iAmRecorder iAmRecorder
iAmSipGateway iAmSipGateway
microsoftApiApplicationClientID
peopleSearchQueryTypes peopleSearchQueryTypes
peopleSearchUrl peopleSearchUrl
requireDisplayName requireDisplayName
@ -392,6 +432,7 @@ var config = {
nick nick
startBitrate startBitrate
*/ */
}; };
/* eslint-enable no-unused-vars, no-var */ /* eslint-enable no-unused-vars, no-var */

@ -6,11 +6,11 @@ var interfaceConfig = {
DEFAULT_BACKGROUND: '#474747', DEFAULT_BACKGROUND: '#474747',
/** /**
* In case the desktop sharing is disabled through the config the button * Whether or not the blurred video background for large video should be
* will not be hidden, but displayed as disabled with this text us as * displayed on browsers that can support it.
* a tooltip.
*/ */
DESKTOP_SHARING_BUTTON_DISABLED_TOOLTIP: null, DISABLE_VIDEO_BACKGROUND: false,
INITIAL_TOOLBAR_TIMEOUT: 20000, INITIAL_TOOLBAR_TIMEOUT: 20000,
TOOLBAR_TIMEOUT: 4000, TOOLBAR_TIMEOUT: 4000,
TOOLBAR_ALWAYS_VISIBLE: false, TOOLBAR_ALWAYS_VISIBLE: false,
@ -45,13 +45,14 @@ var interfaceConfig = {
* jwt. * jwt.
*/ */
TOOLBAR_BUTTONS: [ TOOLBAR_BUTTONS: [
'microphone', 'camera', 'desktop', 'fullscreen', 'fodeviceselection', 'hangup', 'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
'profile', 'info', 'chat', 'recording', 'livestreaming', 'etherpad', 'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip', 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
'invite', 'feedback', 'stats', 'shortcuts' 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
'tileview'
], ],
SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ], SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
// Determines how the video would fit the screen. 'both' would fit the whole // 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, 'height' would fit the original video height to the height of the
@ -80,6 +81,14 @@ var interfaceConfig = {
DISABLE_FOCUS_INDICATOR: false, DISABLE_FOCUS_INDICATOR: false,
DISABLE_DOMINANT_SPEAKER_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 * Whether the ringing sound in the call/ring overlay is disabled. If
* {@code undefined}, defaults to {@code false}. * {@code undefined}, defaults to {@code false}.
@ -137,6 +146,13 @@ var interfaceConfig = {
*/ */
CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000, CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
/**
* If true, hides the connection indicators completely.
*
* @type {boolean}
*/
CONNECTION_INDICATOR_DISABLED: false,
/** /**
* The name of the application connected to the "Add people" search service. * The name of the application connected to the "Add people" search service.
*/ */
@ -151,14 +167,17 @@ var interfaceConfig = {
VIDEO_QUALITY_LABEL_DISABLED: false, VIDEO_QUALITY_LABEL_DISABLED: false,
/** /**
* Temporary feature flag to debug performance with the large video * If true, will display recent list
* background blur. On initial implementation, blur was always enabled so a *
* falsy value here will be used to keep blur enabled, as will the value * @type {boolean}
* "video", and will render the blur over a video element. The value */
* "canvas" will display the blur over a canvas element, while the value RECENT_LIST_ENABLED: true
* "off" will prevent the background from rendering.
/**
* How many columns the tile view can expand to. The respected range is
* between 1 and 5.
*/ */
_BACKGROUND_BLUR: 'canvas' // TILE_VIEW_MAX_COLUMNS: 5,
/** /**
* Specify custom URL for downloading android mobile app. * Specify custom URL for downloading android mobile app.

Loading…
Cancel
Save