Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

interface_config.js 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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', 'fodeviceselection', 'hangup', // jshint ignore:line
  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', 'fodeviceselection', '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: true,
  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. /**
  72. * Whether the ringing sound in the call/ring overlay is disabled. If
  73. * {@code undefined}, defaults to {@code false}.
  74. *
  75. * @type {boolean}
  76. */
  77. DISABLE_RINGING: false,
  78. AUDIO_LEVEL_PRIMARY_COLOR: "rgba(255,255,255,0.4)",
  79. AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
  80. POLICY_LOGO: null,
  81. LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
  82. REMOTE_THUMBNAIL_RATIO: 1, //1:1
  83. // Documentation reference for the live streaming feature.
  84. LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live",
  85. /**
  86. * Whether the mobile app Jitsi Meet is to be promoted to participants
  87. * attempting to join a conference in a mobile Web browser. If
  88. * {@code undefined}, defaults to {@code true}.
  89. *
  90. * @type {boolean}
  91. */
  92. MOBILE_APP_PROMO: true,
  93. /**
  94. * Maximum coeficient of the ratio of the large video to the visible area
  95. * after the large video is scaled to fit the window.
  96. *
  97. * @type {number}
  98. */
  99. MAXIMUM_ZOOMING_COEFFICIENT: 1.3
  100. };