您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

interface_config.js 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. var interfaceConfig = { // eslint-disable-line no-unused-vars
  2. // TO FIX: this needs to be handled from SASS variables. There are some
  3. // methods allowing to use variables both in css and js.
  4. DEFAULT_BACKGROUND: '#474747',
  5. /**
  6. * In case the desktop sharing is disabled through the config the button
  7. * will not be hidden, but displayed as disabled with this text us as
  8. * a tooltip.
  9. */
  10. DESKTOP_SHARING_BUTTON_DISABLED_TOOLTIP: null,
  11. INITIAL_TOOLBAR_TIMEOUT: 20000,
  12. TOOLBAR_TIMEOUT: 4000,
  13. DEFAULT_REMOTE_DISPLAY_NAME: "Fellow Jitster",
  14. DEFAULT_LOCAL_DISPLAY_NAME: "me",
  15. SHOW_JITSI_WATERMARK: true,
  16. JITSI_WATERMARK_LINK: "https://jitsi.org",
  17. // if watermark is disabled by default, it can be shown only for guests
  18. SHOW_WATERMARK_FOR_GUESTS: true,
  19. SHOW_BRAND_WATERMARK: false,
  20. BRAND_WATERMARK_LINK: "",
  21. SHOW_POWERED_BY: false,
  22. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
  23. APP_NAME: "Jitsi Meet",
  24. LANG_DETECTION: false, // Allow i18n to detect the system language
  25. INVITATION_POWERED_BY: true,
  26. /**
  27. * If we should show authentication block in profile
  28. */
  29. AUTHENTICATION_ENABLE: true,
  30. /**
  31. * the toolbar buttons line is intentionally left in one line, to be able
  32. * to easily override values or remove them using regex
  33. */
  34. TOOLBAR_BUTTONS: [
  35. //main toolbar
  36. 'microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup', // jshint ignore:line
  37. //extended toolbar
  38. 'profile', 'contacts', 'info', 'chat', 'recording', 'etherpad', 'sharedvideo', 'settings', 'raisehand', 'videoquality', 'filmstrip'], // jshint ignore:line
  39. /**
  40. * Main Toolbar Buttons
  41. * All of them should be in TOOLBAR_BUTTONS
  42. */
  43. MAIN_TOOLBAR_BUTTONS: ['microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'fodeviceselection', 'hangup'], // jshint ignore:line
  44. SETTINGS_SECTIONS: ['language', 'devices', 'moderator'],
  45. INVITE_OPTIONS: ['invite', 'dialout', 'addtocall'],
  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: true,
  52. /**
  53. * Whether to only show the filmstrip (and hide the toolbar).
  54. */
  55. filmStripOnly: false,
  56. /**
  57. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  58. */
  59. VERTICAL_FILMSTRIP: true,
  60. //A html text to be shown to guests on the close page, false disables it
  61. CLOSE_PAGE_GUEST_HINT: false,
  62. RANDOM_AVATAR_URL_PREFIX: false,
  63. RANDOM_AVATAR_URL_SUFFIX: false,
  64. FILM_STRIP_MAX_HEIGHT: 120,
  65. // Enables feedback star animation.
  66. ENABLE_FEEDBACK_ANIMATION: false,
  67. DISABLE_FOCUS_INDICATOR: false,
  68. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  69. /**
  70. * Whether the ringing sound in the call/ring overlay is disabled. If
  71. * {@code undefined}, defaults to {@code false}.
  72. *
  73. * @type {boolean}
  74. */
  75. DISABLE_RINGING: false,
  76. AUDIO_LEVEL_PRIMARY_COLOR: "rgba(255,255,255,0.4)",
  77. AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
  78. POLICY_LOGO: null,
  79. LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
  80. REMOTE_THUMBNAIL_RATIO: 1, //1:1
  81. // Documentation reference for the live streaming feature.
  82. LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live",
  83. /**
  84. * Whether the mobile app Jitsi Meet is to be promoted to participants
  85. * attempting to join a conference in a mobile Web browser. If
  86. * {@code undefined}, defaults to {@code true}.
  87. *
  88. * @type {boolean}
  89. */
  90. MOBILE_APP_PROMO: true,
  91. /**
  92. * Maximum coeficient of the ratio of the large video to the visible area
  93. * after the large video is scaled to fit the window.
  94. *
  95. * @type {number}
  96. */
  97. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  98. /*
  99. * If indicated some of the error dialogs may point to the support URL for
  100. * help.
  101. */
  102. // SUPPORT_URL: "",
  103. /**
  104. * Whether the connection indicator icon should hide itself based on
  105. * connection strength. If true, the connection indicator will remain
  106. * displayed while the participant has a weak connection and will hide
  107. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  108. * strong.
  109. *
  110. * @type {boolean}
  111. */
  112. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: false,
  113. /**
  114. * How long the connection indicator should remain displayed before hiding.
  115. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  116. *
  117. * @type {number}
  118. */
  119. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000
  120. /**
  121. * The name of the application connected to the "Add people" search service.
  122. */
  123. // ADD_PEOPLE_APP_NAME: ""
  124. };