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

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