Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

interface_config.js 3.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. var interfaceConfig = { // eslint-disable-line no-unused-vars
  2. CANVAS_EXTRA: 104,
  3. CANVAS_RADIUS: 0,
  4. SHADOW_COLOR: '#ffffff',
  5. // TO FIX: this needs to be handled from SASS variables. There are some
  6. // methods allowing to use variables both in css and js.
  7. DEFAULT_BACKGROUND: '#474747',
  8. INITIAL_TOOLBAR_TIMEOUT: 20000,
  9. TOOLBAR_TIMEOUT: 4000,
  10. DEFAULT_REMOTE_DISPLAY_NAME: "Fellow Jitster",
  11. DEFAULT_LOCAL_DISPLAY_NAME: "me",
  12. SHOW_JITSI_WATERMARK: true,
  13. JITSI_WATERMARK_LINK: "https://jitsi.org",
  14. // if watermark is disabled by default, it can be shown only for guests
  15. SHOW_WATERMARK_FOR_GUESTS: true,
  16. SHOW_BRAND_WATERMARK: false,
  17. BRAND_WATERMARK_LINK: "",
  18. SHOW_POWERED_BY: false,
  19. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  20. APP_NAME: "Jitsi Meet",
  21. LANG_DETECTION: false, // Allow i18n to detect the system language
  22. INVITATION_POWERED_BY: true,
  23. /**
  24. * If we should show authentication block in profile
  25. */
  26. AUTHENTICATION_ENABLE: true,
  27. /**
  28. * The index of the splitter button in the main toolbar. The splitter
  29. * button is a button in the toolbar that will be applied a special styling
  30. * visually dividing the toolbar buttons.
  31. */
  32. //MAIN_TOOLBAR_SPLITTER_INDEX: -1,
  33. /**
  34. * the toolbar buttons line is intentionally left in one line, to be able
  35. * to easily override values or remove them using regex
  36. */
  37. TOOLBAR_BUTTONS: [
  38. //main toolbar
  39. 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup',
  40. //extended toolbar
  41. 'profile', 'contacts', 'chat', 'recording', 'etherpad', 'sharedvideo', 'dialout', 'settings', 'raisehand', 'filmstrip'], // jshint ignore:line
  42. /**
  43. * Main Toolbar Buttons
  44. * All of them should be in TOOLBAR_BUTTONS
  45. */
  46. MAIN_TOOLBAR_BUTTONS: ['microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup'], // jshint ignore:line
  47. SETTINGS_SECTIONS: ['language', 'devices', 'moderator'],
  48. // Determines how the video would fit the screen. 'both' would fit the whole
  49. // screen, 'height' would fit the original video height to the height of the
  50. // screen, 'width' would fit the original video width to the width of the
  51. // screen respecting ratio.
  52. VIDEO_LAYOUT_FIT: 'both',
  53. SHOW_CONTACTLIST_AVATARS: false,
  54. /**
  55. * Whether to only show the filmstrip (and hide the toolbar).
  56. */
  57. filmStripOnly: false,
  58. /**
  59. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  60. */
  61. VERTICAL_FILMSTRIP: false,
  62. //A html text to be shown to guests on the close page, false disables it
  63. CLOSE_PAGE_GUEST_HINT: false,
  64. RANDOM_AVATAR_URL_PREFIX: false,
  65. RANDOM_AVATAR_URL_SUFFIX: false,
  66. FILM_STRIP_MAX_HEIGHT: 120,
  67. // Enables feedback star animation.
  68. ENABLE_FEEDBACK_ANIMATION: false,
  69. DISABLE_FOCUS_INDICATOR: false,
  70. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  71. // disables the ringing sound when the RingOverlay is shown.
  72. DISABLE_RINGING: false,
  73. AUDIO_LEVEL_PRIMARY_COLOR: "rgba(255,255,255,0.4)",
  74. AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
  75. POLICY_LOGO: null,
  76. LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
  77. REMOTE_THUMBNAIL_RATIO: 1, //1:1
  78. // Documentation reference for the live streaming feature.
  79. LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live",
  80. /**
  81. * Whether the mobile app Jitsi Meet is to be promoted to participants
  82. * attempting to join a conference in a mobile Web browser. If undefined,
  83. * default to true.
  84. *
  85. * @type {boolean}
  86. */
  87. MOBILE_APP_PROMO: true
  88. };