You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. /* eslint-disable no-unused-vars, no-var, max-len */
  2. /* eslint sort-keys: ["error", "asc", {"caseSensitive": false}] */
  3. /**
  4. * !!!IMPORTANT!!!
  5. *
  6. * This file is considered deprecated. All options will eventually be moved to
  7. * config.js, and no new options should be added here.
  8. */
  9. var interfaceConfig = {
  10. APP_NAME: 'Jitsi Meet',
  11. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  12. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  13. /**
  14. * A UX mode where the last screen share participant is automatically
  15. * pinned. Valid values are the string "remote-only" so remote participants
  16. * get pinned but not local, otherwise any truthy value for all participants,
  17. * and any falsy value to disable the feature.
  18. *
  19. * Note: this mode is experimental and subject to breakage.
  20. */
  21. AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
  22. BRAND_WATERMARK_LINK: '',
  23. CLOSE_PAGE_GUEST_HINT: false, // A html text to be shown to guests on the close page, false disables it
  24. DEFAULT_BACKGROUND: '#040404',
  25. DEFAULT_WELCOME_PAGE_LOGO_URL: 'images/watermark.svg',
  26. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  27. /**
  28. * If true, notifications regarding joining/leaving are no longer displayed.
  29. */
  30. DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
  31. /**
  32. * If true, presence status: busy, calling, connected etc. is not displayed.
  33. */
  34. DISABLE_PRESENCE_STATUS: false,
  35. /**
  36. * Whether the speech to text transcription subtitles panel is disabled.
  37. * If {@code undefined}, defaults to {@code false}.
  38. *
  39. * @type {boolean}
  40. */
  41. DISABLE_TRANSCRIPTION_SUBTITLES: false,
  42. /**
  43. * Whether or not the blurred video background for large video should be
  44. * displayed on browsers that can support it.
  45. */
  46. DISABLE_VIDEO_BACKGROUND: false,
  47. DISPLAY_WELCOME_FOOTER: true,
  48. DISPLAY_WELCOME_PAGE_ADDITIONAL_CARD: false,
  49. DISPLAY_WELCOME_PAGE_CONTENT: false,
  50. DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false,
  51. ENABLE_DIAL_OUT: true,
  52. FILM_STRIP_MAX_HEIGHT: 120,
  53. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  54. /**
  55. * Hide the invite prompt in the header when alone in the meeting.
  56. */
  57. HIDE_INVITE_MORE_HEADER: false,
  58. JITSI_WATERMARK_LINK: 'https://jitsi.org',
  59. LANG_DETECTION: true, // Allow i18n to detect the system language
  60. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  61. /**
  62. * Maximum coefficient of the ratio of the large video to the visible area
  63. * after the large video is scaled to fit the window.
  64. *
  65. * @type {number}
  66. */
  67. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  68. /**
  69. * Whether the mobile app Jitsi Meet is to be promoted to participants
  70. * attempting to join a conference in a mobile Web browser. If
  71. * {@code undefined}, defaults to {@code true}.
  72. *
  73. * @type {boolean}
  74. */
  75. MOBILE_APP_PROMO: true,
  76. // Names of browsers which should show a warning stating the current browser
  77. // has a suboptimal experience. Browsers which are not listed as optimal or
  78. // unsupported are considered suboptimal. Valid values are:
  79. // chrome, chromium, electron, firefox , safari, webkit
  80. OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'electron', 'safari', 'webkit' ],
  81. POLICY_LOGO: null,
  82. PROVIDER_NAME: 'Jitsi',
  83. /**
  84. * If true, will display recent list
  85. *
  86. * @type {boolean}
  87. */
  88. RECENT_LIST_ENABLED: true,
  89. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  90. SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar', 'sounds', 'more' ],
  91. /**
  92. * Specify which sharing features should be displayed. If the value is not set
  93. * all sharing features will be shown. You can set [] to disable all.
  94. */
  95. // SHARING_FEATURES: ['email', 'url', 'dial-in', 'embed'],
  96. SHOW_BRAND_WATERMARK: false,
  97. /**
  98. * Decides whether the chrome extension banner should be rendered on the landing page and during the meeting.
  99. * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
  100. * being already installed is done before rendering.
  101. */
  102. SHOW_CHROME_EXTENSION_BANNER: false,
  103. SHOW_JITSI_WATERMARK: true,
  104. SHOW_POWERED_BY: false,
  105. SHOW_PROMOTIONAL_CLOSE_PAGE: false,
  106. /*
  107. * If indicated some of the error dialogs may point to the support URL for
  108. * help.
  109. */
  110. SUPPORT_URL: 'https://community.jitsi.org/',
  111. // Browsers, in addition to those which do not fully support WebRTC, that
  112. // are not supported and should show the unsupported browser page.
  113. UNSUPPORTED_BROWSERS: [],
  114. /**
  115. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  116. */
  117. VERTICAL_FILMSTRIP: true,
  118. // Determines how the video would fit the screen. 'both' would fit the whole
  119. // screen, 'height' would fit the original video height to the height of the
  120. // screen, 'width' would fit the original video width to the width of the
  121. // screen respecting ratio, 'nocrop' would make the video as large as
  122. // possible and preserve aspect ratio without cropping.
  123. VIDEO_LAYOUT_FIT: 'both',
  124. /**
  125. * If true, hides the video quality label indicating the resolution status
  126. * of the current large video.
  127. *
  128. * @type {boolean}
  129. */
  130. VIDEO_QUALITY_LABEL_DISABLED: false,
  131. /**
  132. * How many columns the tile view can expand to. The respected range is
  133. * between 1 and 5.
  134. */
  135. // TILE_VIEW_MAX_COLUMNS: 5,
  136. // List of undocumented settings
  137. /**
  138. INDICATOR_FONT_SIZES
  139. PHONE_NUMBER_REGEX
  140. */
  141. // -----------------DEPRECATED CONFIGS BELOW THIS LINE-----------------------------
  142. /**
  143. * Specify URL for downloading ios mobile app.
  144. */
  145. // MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
  146. /**
  147. * Specify custom URL for downloading android mobile app.
  148. */
  149. // MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
  150. /**
  151. * Specify mobile app scheme for opening the app from the mobile browser.
  152. */
  153. // APP_SCHEME: 'org.jitsi.meet',
  154. // NATIVE_APP_NAME: 'Jitsi Meet',
  155. /**
  156. * Specify Firebase dynamic link properties for the mobile apps.
  157. */
  158. // MOBILE_DYNAMIC_LINK: {
  159. // APN: 'org.jitsi.meet',
  160. // APP_CODE: 'w2atb',
  161. // CUSTOM_DOMAIN: undefined,
  162. // IBI: 'com.atlassian.JitsiMeet.ios',
  163. // ISI: '1165103905'
  164. // },
  165. /**
  166. * Hide the logo on the deep linking pages.
  167. */
  168. // HIDE_DEEP_LINKING_LOGO: false,
  169. /**
  170. * Specify the Android app package name.
  171. */
  172. // ANDROID_APP_PACKAGE: 'org.jitsi.meet',
  173. /**
  174. * Specify custom URL for downloading f droid app.
  175. */
  176. // MOBILE_DOWNLOAD_LINK_F_DROID: 'https://f-droid.org/packages/org.jitsi.meet/',
  177. // Connection indicators (
  178. // CONNECTION_INDICATOR_AUTO_HIDE_ENABLED,
  179. // CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT,
  180. // CONNECTION_INDICATOR_DISABLED) got moved to config.js.
  181. // Please use disableModeratorIndicator from config.js
  182. // DISABLE_FOCUS_INDICATOR: false,
  183. // Please use defaultLocalDisplayName from config.js
  184. // DEFAULT_LOCAL_DISPLAY_NAME: 'me',
  185. // Please use defaultLogoUrl from config.js
  186. // DEFAULT_LOGO_URL: 'images/watermark.svg',
  187. // Please use defaultRemoteDisplayName from config.js
  188. // DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
  189. // Moved to config.js as `toolbarConfig.initialTimeout`.
  190. // INITIAL_TOOLBAR_TIMEOUT: 20000,
  191. // Please use `liveStreaming.helpLink` from config.js
  192. // Documentation reference for the live streaming feature.
  193. // LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  194. // Moved to config.js as `toolbarConfig.alwaysVisible`.
  195. // TOOLBAR_ALWAYS_VISIBLE: false,
  196. // This config was moved to config.js as `toolbarButtons`.
  197. // TOOLBAR_BUTTONS: [],
  198. // Moved to config.js as `toolbarConfig.timeout`.
  199. // TOOLBAR_TIMEOUT: 4000,
  200. // Allow all above example options to include a trailing comma and
  201. // prevent fear when commenting out the last value.
  202. // eslint-disable-next-line sort-keys
  203. makeJsonParserHappy: 'even if last key had a trailing comma'
  204. // No configuration value should follow this line.
  205. };
  206. /* eslint-enable no-unused-vars, no-var, max-len */