You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. import { ToolbarButton } from './types';
  2. /**
  3. * Thresholds for displaying toolbox buttons.
  4. */
  5. export const THRESHOLDS = [
  6. {
  7. width: 565,
  8. order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'reactions', 'participants', 'tileview' ]
  9. },
  10. {
  11. width: 520,
  12. order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants', 'tileview' ]
  13. },
  14. {
  15. width: 470,
  16. order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants' ]
  17. },
  18. {
  19. width: 420,
  20. order: [ 'microphone', 'camera', 'desktop', 'chat', 'participants' ]
  21. },
  22. {
  23. width: 370,
  24. order: [ 'microphone', 'camera', 'chat', 'participants' ]
  25. },
  26. {
  27. width: 225,
  28. order: [ 'microphone', 'camera', 'chat' ]
  29. },
  30. {
  31. width: 200,
  32. order: [ 'microphone', 'camera' ]
  33. }
  34. ];
  35. export const NOT_APPLICABLE = 'N/A';
  36. export const TOOLBAR_TIMEOUT = 4000;
  37. export const DRAWER_MAX_HEIGHT = '80dvh - 64px';
  38. // Around 300 to be displayed above components like chat
  39. export const ZINDEX_DIALOG_PORTAL = 302;
  40. /**
  41. * Color for spinner displayed in the toolbar.
  42. */
  43. export const SPINNER_COLOR = '#929292';
  44. /**
  45. * The list of all possible UI buttons.
  46. *
  47. * @protected
  48. * @type Array<string>
  49. */
  50. export const TOOLBAR_BUTTONS: ToolbarButton[] = [
  51. 'camera',
  52. 'chat',
  53. 'closedcaptions',
  54. 'desktop',
  55. 'download',
  56. 'embedmeeting',
  57. 'etherpad',
  58. 'feedback',
  59. 'filmstrip',
  60. 'fullscreen',
  61. 'hangup',
  62. 'help',
  63. 'highlight',
  64. 'invite',
  65. 'linktosalesforce',
  66. 'livestreaming',
  67. 'microphone',
  68. 'mute-everyone',
  69. 'mute-video-everyone',
  70. 'participants-pane',
  71. 'profile',
  72. 'raisehand',
  73. 'recording',
  74. 'security',
  75. 'select-background',
  76. 'settings',
  77. 'shareaudio',
  78. 'noisesuppression',
  79. 'sharedvideo',
  80. 'shortcuts',
  81. 'stats',
  82. 'tileview',
  83. 'toggle-camera',
  84. 'videoquality',
  85. 'whiteboard'
  86. ];
  87. /**
  88. * The toolbar buttons to show when in visitors mode.
  89. */
  90. export const VISITORS_MODE_BUTTONS: ToolbarButton[] = [
  91. 'chat',
  92. 'hangup',
  93. 'raisehand',
  94. 'settings',
  95. 'tileview',
  96. 'fullscreen',
  97. 'stats',
  98. 'videoquality'
  99. ];