Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

interface_config.js 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /* eslint-disable no-unused-vars, no-var, max-len */
  2. var interfaceConfig = {
  3. // TO FIX: this needs to be handled from SASS variables. There are some
  4. // methods allowing to use variables both in css and js.
  5. DEFAULT_BACKGROUND: '#474747',
  6. /**
  7. * In case the desktop sharing is disabled through the config the button
  8. * will not be hidden, but displayed as disabled with this text us as
  9. * a tooltip.
  10. */
  11. DESKTOP_SHARING_BUTTON_DISABLED_TOOLTIP: null,
  12. INITIAL_TOOLBAR_TIMEOUT: 20000,
  13. TOOLBAR_TIMEOUT: 4000,
  14. DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
  15. DEFAULT_LOCAL_DISPLAY_NAME: 'me',
  16. SHOW_JITSI_WATERMARK: true,
  17. JITSI_WATERMARK_LINK: 'https://jitsi.org',
  18. // if watermark is disabled by default, it can be shown only for guests
  19. SHOW_WATERMARK_FOR_GUESTS: true,
  20. SHOW_BRAND_WATERMARK: false,
  21. BRAND_WATERMARK_LINK: '',
  22. SHOW_POWERED_BY: false,
  23. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  24. APP_NAME: 'Jitsi Meet',
  25. LANG_DETECTION: false, // Allow i18n to detect the system language
  26. INVITATION_POWERED_BY: true,
  27. /**
  28. * If we should show authentication block in profile
  29. */
  30. AUTHENTICATION_ENABLE: true,
  31. /**
  32. * the toolbar buttons line is intentionally left in one line, to be able
  33. * to easily override values or remove them using regex
  34. */
  35. TOOLBAR_BUTTONS: [
  36. // main toolbar
  37. 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup',
  38. // extended toolbar
  39. 'profile', 'contacts', 'info', 'chat', 'recording', 'etherpad', 'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip' ],
  40. /**
  41. * Main Toolbar Buttons
  42. * All of them should be in TOOLBAR_BUTTONS
  43. */
  44. MAIN_TOOLBAR_BUTTONS: [ 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup' ],
  45. SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ],
  46. INVITE_OPTIONS: [ 'invite', 'dialout', 'addtocall' ],
  47. // Determines how the video would fit the screen. 'both' would fit the whole
  48. // screen, 'height' would fit the original video height to the height of the
  49. // screen, 'width' would fit the original video width to the width of the
  50. // screen respecting ratio.
  51. VIDEO_LAYOUT_FIT: 'both',
  52. SHOW_CONTACTLIST_AVATARS: true,
  53. /**
  54. * Whether to only show the filmstrip (and hide the toolbar).
  55. */
  56. filmStripOnly: false,
  57. /**
  58. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  59. */
  60. VERTICAL_FILMSTRIP: true,
  61. // A html text to be shown to guests on the close page, false disables it
  62. CLOSE_PAGE_GUEST_HINT: false,
  63. RANDOM_AVATAR_URL_PREFIX: false,
  64. RANDOM_AVATAR_URL_SUFFIX: false,
  65. FILM_STRIP_MAX_HEIGHT: 120,
  66. // Enables feedback star animation.
  67. ENABLE_FEEDBACK_ANIMATION: false,
  68. DISABLE_FOCUS_INDICATOR: false,
  69. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  70. /**
  71. * Whether the ringing sound in the call/ring overlay is disabled. If
  72. * {@code undefined}, defaults to {@code false}.
  73. *
  74. * @type {boolean}
  75. */
  76. DISABLE_RINGING: false,
  77. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  78. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  79. POLICY_LOGO: null,
  80. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  81. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  82. // Documentation reference for the live streaming feature.
  83. LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  84. /**
  85. * Whether the mobile app Jitsi Meet is to be promoted to participants
  86. * attempting to join a conference in a mobile Web browser. If
  87. * {@code undefined}, defaults to {@code true}.
  88. *
  89. * @type {boolean}
  90. */
  91. MOBILE_APP_PROMO: true,
  92. /**
  93. * Maximum coeficient of the ratio of the large video to the visible area
  94. * after the large video is scaled to fit the window.
  95. *
  96. * @type {number}
  97. */
  98. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  99. /*
  100. * If indicated some of the error dialogs may point to the support URL for
  101. * help.
  102. */
  103. // SUPPORT_URL: "",
  104. /**
  105. * Whether the connection indicator icon should hide itself based on
  106. * connection strength. If true, the connection indicator will remain
  107. * displayed while the participant has a weak connection and will hide
  108. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  109. * strong.
  110. *
  111. * @type {boolean}
  112. */
  113. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: false,
  114. /**
  115. * How long the connection indicator should remain displayed before hiding.
  116. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  117. *
  118. * @type {number}
  119. */
  120. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000
  121. /**
  122. * The name of the application connected to the "Add people" search service.
  123. */
  124. // ADD_PEOPLE_APP_NAME: ""
  125. };
  126. /* eslint-enable no-unused-vars, no-var, max-len */