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 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /* eslint-disable no-unused-vars, no-var, max-len */
  2. var interfaceConfig = {
  3. DEFAULT_BACKGROUND: '#474747',
  4. DEFAULT_LOGO_URL: '../images/watermark.png',
  5. /**
  6. * Whether or not the blurred video background for large video should be
  7. * displayed on browsers that can support it.
  8. */
  9. DISABLE_VIDEO_BACKGROUND: false,
  10. INITIAL_TOOLBAR_TIMEOUT: 20000,
  11. TOOLBAR_TIMEOUT: 4000,
  12. TOOLBAR_ALWAYS_VISIBLE: false,
  13. DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
  14. DEFAULT_LOCAL_DISPLAY_NAME: 'me',
  15. SHOW_JITSI_WATERMARK: true,
  16. JITSI_WATERMARK_LINK: 'https://jitsi.org',
  17. // if watermark is disabled by default, it can be shown only for guests
  18. SHOW_WATERMARK_FOR_GUESTS: true,
  19. SHOW_BRAND_WATERMARK: false,
  20. BRAND_WATERMARK_LINK: '',
  21. SHOW_POWERED_BY: false,
  22. SHOW_DEEP_LINKING_IMAGE: false,
  23. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  24. DISPLAY_WELCOME_PAGE_CONTENT: true,
  25. DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false,
  26. APP_NAME: 'Jitsi Meet',
  27. NATIVE_APP_NAME: 'Jitsi Meet',
  28. PROVIDER_NAME: 'Jitsi',
  29. LANG_DETECTION: true, // Allow i18n to detect the system language
  30. /**
  31. * Hide the invite prompt in the header when alone in the meeting.
  32. */
  33. HIDE_INVITE_MORE_HEADER: false,
  34. /**
  35. * The name of the toolbar buttons to display in the toolbar. If present,
  36. * the button will display. Exceptions are "livestreaming" and "recording"
  37. * which also require being a moderator and some values in config.js to be
  38. * enabled. Also, the "profile" button will not display for user's with a
  39. * jwt.
  40. */
  41. TOOLBAR_BUTTONS: [
  42. 'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
  43. 'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
  44. 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
  45. 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
  46. 'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone',
  47. 'e2ee', 'security'
  48. ],
  49. SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
  50. // Determines how the video would fit the screen. 'both' would fit the whole
  51. // screen, 'height' would fit the original video height to the height of the
  52. // screen, 'width' would fit the original video width to the width of the
  53. // screen respecting ratio.
  54. VIDEO_LAYOUT_FIT: 'both',
  55. /**
  56. * Whether to only show the filmstrip (and hide the toolbar).
  57. */
  58. filmStripOnly: false,
  59. /**
  60. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  61. */
  62. VERTICAL_FILMSTRIP: true,
  63. // A html text to be shown to guests on the close page, false disables it
  64. CLOSE_PAGE_GUEST_HINT: false,
  65. SHOW_PROMOTIONAL_CLOSE_PAGE: 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 speech to text transcription subtitles panel is disabled.
  73. * If {@code undefined}, defaults to {@code false}.
  74. *
  75. * @type {boolean}
  76. */
  77. DISABLE_TRANSCRIPTION_SUBTITLES: false,
  78. /**
  79. * Whether the ringing sound in the call/ring overlay is disabled. If
  80. * {@code undefined}, defaults to {@code false}.
  81. *
  82. * @type {boolean}
  83. */
  84. DISABLE_RINGING: false,
  85. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  86. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  87. POLICY_LOGO: null,
  88. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  89. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  90. // Documentation reference for the live streaming feature.
  91. LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  92. /**
  93. * Whether the mobile app Jitsi Meet is to be promoted to participants
  94. * attempting to join a conference in a mobile Web browser. If
  95. * {@code undefined}, defaults to {@code true}.
  96. *
  97. * @type {boolean}
  98. */
  99. MOBILE_APP_PROMO: true,
  100. /**
  101. * Maximum coeficient of the ratio of the large video to the visible area
  102. * after the large video is scaled to fit the window.
  103. *
  104. * @type {number}
  105. */
  106. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  107. /*
  108. * If indicated some of the error dialogs may point to the support URL for
  109. * help.
  110. */
  111. SUPPORT_URL: 'https://community.jitsi.org/',
  112. /**
  113. * Whether the connection indicator icon should hide itself based on
  114. * connection strength. If true, the connection indicator will remain
  115. * displayed while the participant has a weak connection and will hide
  116. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  117. * strong.
  118. *
  119. * @type {boolean}
  120. */
  121. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true,
  122. /**
  123. * How long the connection indicator should remain displayed before hiding.
  124. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  125. *
  126. * @type {number}
  127. */
  128. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
  129. /**
  130. * If true, hides the connection indicators completely.
  131. *
  132. * @type {boolean}
  133. */
  134. CONNECTION_INDICATOR_DISABLED: false,
  135. /**
  136. * If true, hides the video quality label indicating the resolution status
  137. * of the current large video.
  138. *
  139. * @type {boolean}
  140. */
  141. VIDEO_QUALITY_LABEL_DISABLED: false,
  142. /**
  143. * If true, will display recent list
  144. *
  145. * @type {boolean}
  146. */
  147. RECENT_LIST_ENABLED: true,
  148. // Names of browsers which should show a warning stating the current browser
  149. // has a suboptimal experience. Browsers which are not listed as optimal or
  150. // unsupported are considered suboptimal. Valid values are:
  151. // chrome, chromium, edge, electron, firefox, nwjs, opera, safari
  152. OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
  153. // Browsers, in addition to those which do not fully support WebRTC, that
  154. // are not supported and should show the unsupported browser page.
  155. UNSUPPORTED_BROWSERS: [],
  156. /**
  157. * A UX mode where the last screen share participant is automatically
  158. * pinned. Valid values are the string "remote-only" so remote participants
  159. * get pinned but not local, otherwise any truthy value for all participants,
  160. * and any falsy value to disable the feature.
  161. *
  162. * Note: this mode is experimental and subject to breakage.
  163. */
  164. AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
  165. /**
  166. * If true, presence status: busy, calling, connected etc. is not displayed.
  167. */
  168. DISABLE_PRESENCE_STATUS: false,
  169. /**
  170. * If true, notifications regarding joining/leaving are no longer displayed.
  171. */
  172. DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
  173. /**
  174. * Decides whether the chrome extension banner should be rendered on the landing page and during the meeting.
  175. * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
  176. * being already installed is done before rendering.
  177. */
  178. SHOW_CHROME_EXTENSION_BANNER: false,
  179. /**
  180. * When enabled, the kick participant button will not be presented for users without a JWT
  181. */
  182. // HIDE_KICK_BUTTON_FOR_GUESTS: false,
  183. /**
  184. * How many columns the tile view can expand to. The respected range is
  185. * between 1 and 5.
  186. */
  187. // TILE_VIEW_MAX_COLUMNS: 5,
  188. /**
  189. * Specify custom URL for downloading android mobile app.
  190. */
  191. // MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
  192. /**
  193. * Specify URL for downloading ios mobile app.
  194. */
  195. // MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
  196. /**
  197. * Specify Firebase dynamic link properties for the mobile apps.
  198. */
  199. // MOBILE_DYNAMIC_LINK: {
  200. // APN: 'org.jitsi.meet',
  201. // APP_CODE: 'w2atb',
  202. // CUSTOM_DOMAIN: undefined,
  203. // IBI: 'com.atlassian.JitsiMeet.ios',
  204. // ISI: '1165103905'
  205. // },
  206. /**
  207. * Specify mobile app scheme for opening the app from the mobile browser.
  208. */
  209. // APP_SCHEME: 'org.jitsi.meet',
  210. /**
  211. * Specify the Android app package name.
  212. */
  213. // ANDROID_APP_PACKAGE: 'org.jitsi.meet',
  214. /**
  215. * Override the behavior of some notifications to remain displayed until
  216. * explicitly dismissed through a user action. The value is how long, in
  217. * milliseconds, those notifications should remain displayed.
  218. */
  219. // ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000,
  220. // List of undocumented settings
  221. /**
  222. INDICATOR_FONT_SIZES
  223. PHONE_NUMBER_REGEX
  224. */
  225. // Allow all above example options to include a trailing comma and
  226. // prevent fear when commenting out the last value.
  227. makeJsonParserHappy: 'even if last key had a trailing comma'
  228. // no configuration value should follow this line.
  229. };
  230. /* eslint-enable no-unused-vars, no-var, max-len */