選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

interface_config.js 8.5KB

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