Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

interface_config.js 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. TOOLBAR_ALWAYS_VISIBLE: false,
  15. DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
  16. DEFAULT_LOCAL_DISPLAY_NAME: 'me',
  17. SHOW_JITSI_WATERMARK: true,
  18. JITSI_WATERMARK_LINK: 'https://jitsi.org',
  19. // if watermark is disabled by default, it can be shown only for guests
  20. SHOW_WATERMARK_FOR_GUESTS: true,
  21. SHOW_BRAND_WATERMARK: false,
  22. BRAND_WATERMARK_LINK: '',
  23. SHOW_POWERED_BY: false,
  24. SHOW_DEEP_LINKING_IMAGE: false,
  25. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  26. DISPLAY_WELCOME_PAGE_CONTENT: true,
  27. APP_NAME: 'Jitsi Meet',
  28. NATIVE_APP_NAME: 'Jitsi Meet',
  29. LANG_DETECTION: false, // Allow i18n to detect the system language
  30. INVITATION_POWERED_BY: true,
  31. /**
  32. * If we should show authentication block in profile
  33. */
  34. AUTHENTICATION_ENABLE: true,
  35. /**
  36. * The name of the toolbar buttons to display in the toolbar. If present,
  37. * the button will display. Exceptions are "livestreaming" and "recording"
  38. * which also require being a moderator and some values in config.js to be
  39. * enabled. Also, the "profile" button will not display for user's with a
  40. * jwt.
  41. */
  42. TOOLBAR_BUTTONS: [
  43. 'microphone', 'camera', 'desktop', 'fullscreen', 'fodeviceselection', 'hangup',
  44. 'profile', 'info', 'chat', 'recording', 'livestreaming', 'etherpad',
  45. 'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip',
  46. 'invite', 'feedback', 'stats', 'shortcuts'
  47. ],
  48. SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ],
  49. // Determines how the video would fit the screen. 'both' would fit the whole
  50. // screen, 'height' would fit the original video height to the height of the
  51. // screen, 'width' would fit the original video width to the width of the
  52. // screen respecting ratio.
  53. VIDEO_LAYOUT_FIT: 'both',
  54. /**
  55. * Whether to only show the filmstrip (and hide the toolbar).
  56. */
  57. filmStripOnly: false,
  58. /**
  59. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  60. */
  61. VERTICAL_FILMSTRIP: true,
  62. // A html text to be shown to guests on the close page, false disables it
  63. CLOSE_PAGE_GUEST_HINT: false,
  64. RANDOM_AVATAR_URL_PREFIX: false,
  65. RANDOM_AVATAR_URL_SUFFIX: false,
  66. FILM_STRIP_MAX_HEIGHT: 120,
  67. // Enables feedback star animation.
  68. ENABLE_FEEDBACK_ANIMATION: false,
  69. DISABLE_FOCUS_INDICATOR: false,
  70. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  71. /**
  72. * Whether the ringing sound in the call/ring overlay is disabled. If
  73. * {@code undefined}, defaults to {@code false}.
  74. *
  75. * @type {boolean}
  76. */
  77. DISABLE_RINGING: false,
  78. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  79. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  80. POLICY_LOGO: null,
  81. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  82. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  83. // Documentation reference for the live streaming feature.
  84. LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  85. /**
  86. * Whether the mobile app Jitsi Meet is to be promoted to participants
  87. * attempting to join a conference in a mobile Web browser. If
  88. * {@code undefined}, defaults to {@code true}.
  89. *
  90. * @type {boolean}
  91. */
  92. MOBILE_APP_PROMO: true,
  93. /**
  94. * Maximum coeficient of the ratio of the large video to the visible area
  95. * after the large video is scaled to fit the window.
  96. *
  97. * @type {number}
  98. */
  99. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  100. /*
  101. * If indicated some of the error dialogs may point to the support URL for
  102. * help.
  103. */
  104. SUPPORT_URL: 'https://github.com/jitsi/jitsi-meet/issues/new',
  105. /**
  106. * Whether the connection indicator icon should hide itself based on
  107. * connection strength. If true, the connection indicator will remain
  108. * displayed while the participant has a weak connection and will hide
  109. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  110. * strong.
  111. *
  112. * @type {boolean}
  113. */
  114. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true,
  115. /**
  116. * How long the connection indicator should remain displayed before hiding.
  117. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  118. *
  119. * @type {number}
  120. */
  121. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
  122. /**
  123. * The name of the application connected to the "Add people" search service.
  124. */
  125. // ADD_PEOPLE_APP_NAME: "",
  126. /**
  127. * If true, hides the video quality label indicating the resolution status
  128. * of the current large video.
  129. *
  130. * @type {boolean}
  131. */
  132. VIDEO_QUALITY_LABEL_DISABLED: false,
  133. /**
  134. * Temporary feature flag to debug performance with the large video
  135. * background blur. On initial implementation, blur was always enabled so a
  136. * falsy value here will be used to keep blur enabled, as will the value
  137. * "video", and will render the blur over a video element. The value
  138. * "canvas" will display the blur over a canvas element, while the value
  139. * "off" will prevent the background from rendering.
  140. */
  141. _BACKGROUND_BLUR: 'canvas'
  142. /**
  143. * Specify custom URL for downloading android mobile app.
  144. */
  145. // MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
  146. /**
  147. * Specify URL for downloading ios mobile app.
  148. */
  149. // MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
  150. /**
  151. * Specify mobile app scheme for opening the app from the mobile browser.
  152. */
  153. // APP_SCHEME: 'org.jitsi.meet'
  154. };
  155. /* eslint-enable no-unused-vars, no-var, max-len */