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.

interface_config.js 9.4KB

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