123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- import { ToolbarButton } from './types';
-
- /**
- * Thresholds for displaying toolbox buttons.
- */
- export const THRESHOLDS = [
- {
- width: 565,
- order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'reactions', 'participants-pane', 'tileview' ]
- },
- {
- width: 520,
- order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants-pane', 'tileview' ]
- },
- {
- width: 470,
- order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants-pane' ]
- },
- {
- width: 420,
- order: [ 'microphone', 'camera', 'desktop', 'chat', 'participants-pane' ]
- },
- {
- width: 370,
- order: [ 'microphone', 'camera', 'chat', 'participants-pane' ]
- },
- {
- width: 225,
- order: [ 'microphone', 'camera', 'chat' ]
- },
- {
- width: 200,
- order: [ 'microphone', 'camera' ]
- }
- ];
-
- /**
- * Main toolbar buttons priority used to determine which button should be picked to fill empty spaces for disabled
- * buttons.
- */
- export const MAIN_TOOLBAR_BUTTONS_PRIORITY = [
- 'microphone',
- 'camera',
- 'desktop',
- 'chat',
- 'raisehand',
- 'reactions',
- 'participants-pane',
- 'tileview',
- 'invite',
- 'toggle-camera',
- 'videoquality',
- 'fullscreen',
- 'security',
- 'closedcaptions',
- 'recording',
- 'livestreaming',
- 'linktosalesforce',
- 'sharedvideo',
- 'shareaudio',
- 'noisesuppression',
- 'whiteboard',
- 'etherpad',
- 'select-background',
- 'stats',
- 'settings',
- 'shortcuts',
- 'profile',
- 'embedmeeting',
- 'feedback',
- 'download',
- 'help'
- ];
-
- export const TOOLBAR_TIMEOUT = 4000;
-
- export const DRAWER_MAX_HEIGHT = '80dvh - 64px';
-
- // Around 300 to be displayed above components like chat
- export const ZINDEX_DIALOG_PORTAL = 302;
-
- /**
- * Color for spinner displayed in the toolbar.
- */
- export const SPINNER_COLOR = '#929292';
-
- /**
- * The list of all possible UI buttons.
- *
- * @protected
- * @type Array<string>
- */
- export const TOOLBAR_BUTTONS: ToolbarButton[] = [
- 'camera',
- 'chat',
- 'closedcaptions',
- 'desktop',
- 'download',
- 'embedmeeting',
- 'etherpad',
- 'feedback',
- 'filmstrip',
- 'fullscreen',
- 'hangup',
- 'help',
- 'highlight',
- 'invite',
- 'linktosalesforce',
- 'livestreaming',
- 'microphone',
- 'mute-everyone',
- 'mute-video-everyone',
- 'participants-pane',
- 'profile',
- 'raisehand',
- 'recording',
- 'security',
- 'select-background',
- 'settings',
- 'shareaudio',
- 'noisesuppression',
- 'sharedvideo',
- 'shortcuts',
- 'stats',
- 'tileview',
- 'toggle-camera',
- 'videoquality',
- 'whiteboard'
- ];
-
- /**
- * The toolbar buttons to show when in visitors mode.
- */
- export const VISITORS_MODE_BUTTONS: ToolbarButton[] = [
- 'chat',
- 'closedcaptions',
- 'hangup',
- 'raisehand',
- 'settings',
- 'tileview',
- 'fullscreen',
- 'stats',
- 'videoquality'
- ];
|