Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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