Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(config) add missing buttons to default constants

Saúl Ibarra Corretgébac0a5542115
diff --git a/config.js b/config.js
index 1cca741b1f..451e6a7ad8 100644
--- a/config.js
+++ b/config.js
@@ -462,11 +462,38 @@ var config = {
// - 'desktop' controls the "Share your screen" button
// - if `toolbarButtons` is undefined, we fallback to enabling all buttons on the UI
// toolbarButtons: [
- // 'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
- // 'fodeviceselection', 'hangup', 'profile', 'participants-pane', 'chat', 'recording',
- // 'livestreaming', 'etherpad', 'sharedvideo', 'shareaudio', 'settings', 'raisehand',
- // 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
- // 'tileview', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone', 'security'
+ // 'camera',
+ // 'chat',
+ // 'closedcaptions',
+ // 'desktop',
+ // 'download',
+ // 'embedmeeting',
+ // 'etherpad',
+ // 'feedback',
+ // 'filmstrip',
+ // 'fullscreen',
+ // 'hangup',
+ // 'help',
+ // 'invite',
+ // 'livestreaming',
+ // 'microphone',
+ // 'mute-everyone',
+ // 'mute-video-everyone',
+ // 'participants-pane',
+ // 'profile',
+ // 'raisehand',
+ // 'recording',
+ // 'security',
+ // 'select-background',
+ // 'settings',
+ // 'shareaudio',
+ // 'sharedvideo',
+ // 'shortcuts',
+ // 'stats',
+ // 'tileview',
+ // 'toggle-camera',
+ // 'videoquality',
+ // '__end'
// ],
// Stats
diff --git a/interface_config.js b/interface_config.js
index 39b4743fbe..fa9c88343c 100644
--- a/interface_config.js
+++ b/interface_config.js
@@ -208,13 +208,7 @@ var interfaceConfig = {
* DEPRECATED!
* This config was moved to config.js as `toolbarButtons`.
*/
- // TOOLBAR_BUTTONS: [
- // 'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
- // 'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
- // 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
- // 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
- // 'tileview', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone', 'security'
- // ],
+ // TOOLBAR_BUTTONS: [],
TOOLBAR_TIMEOUT: 4000,
diff --git a/react/features/base/config/constants.js b/react/features/base/config/constants.js
index 1922c1ff04..3abca50b4c 100644
--- a/react/features/base/config/constants.js
+++ b/react/features/base/config/constants.js
@@ -14,10 +14,35 @@ export const _CONFIG_STORE_PREFIX = 'config.js';
* @type Array<string>
*/
export const TOOLBAR_BUTTONS = [
- 'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
- 'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
- 'livestreaming', 'etherpad', 'sharedvideo', 'shareaudio', 'settings', 'raisehand',
- 'videoquality', 'filmstrip', 'participants-pane', 'feedback', 'stats', 'shortcuts',
- 'tileview', 'toggle-camera', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone',
- 'security'
+ 'camera',
+ 'chat',
+ 'closedcaptions',
+ 'desktop',
+ 'download',
+ 'embedmeeting',
+ 'etherpad',
+ 'feedback',
+ 'filmstrip',
+ 'fullscreen',
+ 'hangup',
+ 'help',
+ 'invite',
+ 'livestreaming',
+ 'microphone',
+ 'mute-everyone',
+ 'mute-video-everyone',
+ 'participants-pane',
+ 'profile',
+ 'raisehand',
+ 'recording',
+ 'security',
+ 'select-background',
+ 'settings',
+ 'shareaudio',
+ 'sharedvideo',
+ 'shortcuts',
+ 'stats',
+ 'tileview',
+ 'toggle-camera',
+ 'videoquality'
];