Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

interface_config.js 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. SHOW_BRAND_WATERMARK: false,
  15. BRAND_WATERMARK_LINK: "",
  16. SHOW_POWERED_BY: false,
  17. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  18. APP_NAME: "Jitsi Meet",
  19. LANG_DETECTION: false, // Allow i18n to detect the system language
  20. INVITATION_POWERED_BY: true,
  21. /**
  22. * If we should show authentication block in profile
  23. */
  24. AUTHENTICATION_ENABLE: true,
  25. /**
  26. * The index of the splitter button in the main toolbar. The splitter
  27. * button is a button in the toolbar that will be applied a special styling
  28. * visually dividing the toolbar buttons.
  29. */
  30. //MAIN_TOOLBAR_SPLITTER_INDEX: -1,
  31. /**
  32. * the toolbar buttons line is intentionally left in one line, to be able
  33. * to easily override values or remove them using regex
  34. */
  35. TOOLBAR_BUTTONS: [
  36. //main toolbar
  37. 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup',
  38. //extended toolbar
  39. 'profile', 'contacts', 'chat', 'recording', 'etherpad', 'sharedvideo', 'sip', 'dialpad', 'settings', 'raisehand', 'filmstrip'], // jshint ignore:line
  40. /**
  41. * Main Toolbar Buttons
  42. * All of them should be in TOOLBAR_BUTTONS
  43. */
  44. MAIN_TOOLBAR_BUTTONS: ['microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup'], // jshint ignore:line
  45. SETTINGS_SECTIONS: ['language', 'devices', 'moderator'],
  46. // Determines how the video would fit the screen. 'both' would fit the whole
  47. // screen, 'height' would fit the original video height to the height of the
  48. // screen, 'width' would fit the original video width to the width of the
  49. // screen respecting ratio.
  50. VIDEO_LAYOUT_FIT: 'both',
  51. SHOW_CONTACTLIST_AVATARS: false,
  52. /**
  53. * Whether to only show the filmstrip (and hide the toolbar).
  54. */
  55. filmStripOnly: false,
  56. RANDOM_AVATAR_URL_PREFIX: false,
  57. RANDOM_AVATAR_URL_SUFFIX: false,
  58. FILM_STRIP_MAX_HEIGHT: 120,
  59. // Enables feedback star animation.
  60. ENABLE_FEEDBACK_ANIMATION: false,
  61. DISABLE_FOCUS_INDICATOR: false,
  62. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  63. // disables the ringing sound when the RingOverlay is shown.
  64. DISABLE_RINGING: false,
  65. AUDIO_LEVEL_PRIMARY_COLOR: "rgba(255,255,255,0.4)",
  66. AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
  67. POLICY_LOGO: null,
  68. LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
  69. REMOTE_THUMBNAIL_RATIO: 1 //1:1
  70. };