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.

interface_config.js 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. DISPLAY_WELCOME_PAGE_CONTENT: true,
  25. APP_NAME: 'Jitsi Meet',
  26. LANG_DETECTION: false, // Allow i18n to detect the system language
  27. INVITATION_POWERED_BY: true,
  28. /**
  29. * If we should show authentication block in profile
  30. */
  31. AUTHENTICATION_ENABLE: true,
  32. /**
  33. * the toolbar buttons line is intentionally left in one line, to be able
  34. * to easily override values or remove them using regex
  35. */
  36. TOOLBAR_BUTTONS: [
  37. // main toolbar
  38. 'microphone', 'camera', 'desktop', 'fullscreen', 'fodeviceselection', 'hangup',
  39. // extended toolbar
  40. 'profile', 'info', 'chat', 'recording', 'etherpad',
  41. 'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip',
  42. 'invite', 'feedback', 'stats', 'shortcuts'
  43. ],
  44. SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ],
  45. // Determines how the video would fit the screen. 'both' would fit the whole
  46. // screen, 'height' would fit the original video height to the height of the
  47. // screen, 'width' would fit the original video width to the width of the
  48. // screen respecting ratio.
  49. VIDEO_LAYOUT_FIT: 'both',
  50. /**
  51. * Whether to only show the filmstrip (and hide the toolbar).
  52. */
  53. filmStripOnly: false,
  54. /**
  55. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  56. */
  57. VERTICAL_FILMSTRIP: true,
  58. // A html text to be shown to guests on the close page, false disables it
  59. CLOSE_PAGE_GUEST_HINT: false,
  60. RANDOM_AVATAR_URL_PREFIX: false,
  61. RANDOM_AVATAR_URL_SUFFIX: false,
  62. FILM_STRIP_MAX_HEIGHT: 120,
  63. // Enables feedback star animation.
  64. ENABLE_FEEDBACK_ANIMATION: false,
  65. DISABLE_FOCUS_INDICATOR: false,
  66. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  67. /**
  68. * Whether the ringing sound in the call/ring overlay is disabled. If
  69. * {@code undefined}, defaults to {@code false}.
  70. *
  71. * @type {boolean}
  72. */
  73. DISABLE_RINGING: false,
  74. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  75. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  76. POLICY_LOGO: null,
  77. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  78. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  79. // Documentation reference for the live streaming feature.
  80. LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  81. /**
  82. * Whether the mobile app Jitsi Meet is to be promoted to participants
  83. * attempting to join a conference in a mobile Web browser. If
  84. * {@code undefined}, defaults to {@code true}.
  85. *
  86. * @type {boolean}
  87. */
  88. MOBILE_APP_PROMO: true,
  89. /**
  90. * Maximum coeficient of the ratio of the large video to the visible area
  91. * after the large video is scaled to fit the window.
  92. *
  93. * @type {number}
  94. */
  95. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  96. /*
  97. * If indicated some of the error dialogs may point to the support URL for
  98. * help.
  99. */
  100. SUPPORT_URL: 'https://github.com/jitsi/jitsi-meet/issues/new',
  101. /**
  102. * Whether the connection indicator icon should hide itself based on
  103. * connection strength. If true, the connection indicator will remain
  104. * displayed while the participant has a weak connection and will hide
  105. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  106. * strong.
  107. *
  108. * @type {boolean}
  109. */
  110. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true,
  111. /**
  112. * How long the connection indicator should remain displayed before hiding.
  113. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  114. *
  115. * @type {number}
  116. */
  117. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
  118. /**
  119. * The name of the application connected to the "Add people" search service.
  120. */
  121. // ADD_PEOPLE_APP_NAME: "",
  122. /**
  123. * If true, hides the video quality label indicating the resolution status
  124. * of the current large video.
  125. *
  126. * @type {boolean}
  127. */
  128. VIDEO_QUALITY_LABEL_DISABLED: false
  129. /**
  130. * Specify custom URL for downloading android mobile app.
  131. */
  132. // MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
  133. /**
  134. * Specify URL for downloading ios mobile app.
  135. */
  136. // MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
  137. /**
  138. * Specify mobile app scheme for opening the app from the mobile browser.
  139. */
  140. // MOBILE_APP_SCHEME: 'org.jitsi.meet'
  141. };
  142. /* eslint-enable no-unused-vars, no-var, max-len */