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.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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', 'sip', 'dialpad', '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. //A html text to be shown to guests on the close page, false disables it
  59. CLOSE_PAGE_GUEST_HINT: false,
  60. RANDOM_AVATAR_URL_PREFIX: false,
  61. RANDOM_AVATAR_URL_SUFFIX: false,
  62. FILM_STRIP_MAX_HEIGHT: 120,
  63. // Enables feedback star animation.
  64. ENABLE_FEEDBACK_ANIMATION: false,
  65. DISABLE_FOCUS_INDICATOR: false,
  66. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  67. // disables the ringing sound when the RingOverlay is shown.
  68. DISABLE_RINGING: false,
  69. AUDIO_LEVEL_PRIMARY_COLOR: "rgba(255,255,255,0.4)",
  70. AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
  71. POLICY_LOGO: null,
  72. LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
  73. REMOTE_THUMBNAIL_RATIO: 1 //1:1
  74. };