Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

231 satır
8.5 KiB

  1. /* eslint-disable no-unused-vars, no-var, max-len */
  2. var interfaceConfig = {
  3. // TO FIX: this needs to be handled from SASS variables. There are some
  4. // methods allowing to use variables both in css and js.
  5. DEFAULT_BACKGROUND: '#474747',
  6. /**
  7. * Whether or not the blurred video background for large video should be
  8. * displayed on browsers that can support it.
  9. */
  10. DISABLE_VIDEO_BACKGROUND: false,
  11. INITIAL_TOOLBAR_TIMEOUT: 20000,
  12. TOOLBAR_TIMEOUT: 4000,
  13. TOOLBAR_ALWAYS_VISIBLE: false,
  14. DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
  15. DEFAULT_LOCAL_DISPLAY_NAME: 'me',
  16. SHOW_JITSI_WATERMARK: {{ matrix_jitsi_web_interface_config_show_jitsi_watermark|to_json }},
  17. JITSI_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_jitsi_watermark_link|to_json }},
  18. // if watermark is disabled by default, it can be shown only for guests
  19. SHOW_WATERMARK_FOR_GUESTS: {{ matrix_jitsi_web_interface_config_show_watermark_for_guests|to_json }},
  20. SHOW_BRAND_WATERMARK: {{ matrix_jitsi_web_interface_config_show_brand_watermark|to_json }},
  21. BRAND_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_brand_watermark_link|to_json }},
  22. SHOW_POWERED_BY: {{ matrix_jitsi_web_interface_config_show_powered_by|to_json }},
  23. SHOW_DEEP_LINKING_IMAGE: {{ matrix_jisti_web_interface_config_show_deep_linking_image|to_json }},
  24. GENERATE_ROOMNAMES_ON_WELCOME_PAGE: {{ matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page|to_json }},
  25. DISPLAY_WELCOME_PAGE_CONTENT: {{ matrix_jitsi_web_interface_config_display_welcome_page_content|to_json }},
  26. APP_NAME: {{ matrix_jitsi_web_interface_config_app_name|to_json }},
  27. NATIVE_APP_NAME: {{ matrix_jitsi_web_interface_config_native_app_name|to_json }},
  28. PROVIDER_NAME: {{ matrix_jitsi_web_interface_config_provider_name|to_json }},
  29. LANG_DETECTION: {{ matrix_jitsi_web_interface_config_lang_detection|to_json }}, // Allow i18n to detect the system language
  30. INVITATION_POWERED_BY: {{ matrix_jitsi_web_interface_config_invitation_powered_by|to_json }},
  31. /**
  32. * If we should show authentication block in profile
  33. */
  34. AUTHENTICATION_ENABLE: true,
  35. /**
  36. * The name of the toolbar buttons to display in the toolbar. If present,
  37. * the button will display. Exceptions are "livestreaming" and "recording"
  38. * which also require being a moderator and some values in config.js to be
  39. * enabled. Also, the "profile" button will not display for user's with a
  40. * jwt.
  41. */
  42. TOOLBAR_BUTTONS: [
  43. {% if matrix_jitsi_enable_transcriptions %}
  44. 'closedcaptions',
  45. {% endif %}
  46. 'microphone', 'camera', 'desktop', 'fullscreen',
  47. 'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
  48. 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
  49. 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
  50. 'tileview', 'videobackgroundblur'
  51. ],
  52. SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
  53. // Determines how the video would fit the screen. 'both' would fit the whole
  54. // screen, 'height' would fit the original video height to the height of the
  55. // screen, 'width' would fit the original video width to the width of the
  56. // screen respecting ratio.
  57. VIDEO_LAYOUT_FIT: 'both',
  58. /**
  59. * Whether to only show the filmstrip (and hide the toolbar).
  60. */
  61. filmStripOnly: false,
  62. /**
  63. * Whether to show thumbnails in filmstrip as a column instead of as a row.
  64. */
  65. VERTICAL_FILMSTRIP: true,
  66. // A html text to be shown to guests on the close page, false disables it
  67. CLOSE_PAGE_GUEST_HINT: false,
  68. RANDOM_AVATAR_URL_PREFIX: false,
  69. RANDOM_AVATAR_URL_SUFFIX: false,
  70. FILM_STRIP_MAX_HEIGHT: 120,
  71. // Enables feedback star animation.
  72. ENABLE_FEEDBACK_ANIMATION: false,
  73. DISABLE_FOCUS_INDICATOR: false,
  74. DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
  75. /**
  76. * Whether the speech to text transcription subtitles panel is disabled.
  77. * If {@code undefined}, defaults to {@code false}.
  78. *
  79. * @type {boolean}
  80. */
  81. DISABLE_TRANSCRIPTION_SUBTITLES: {{ matrix_jitsi_web_interface_config_disable_transcription_subtitles|to_json }},
  82. /**
  83. * Whether the ringing sound in the call/ring overlay is disabled. If
  84. * {@code undefined}, defaults to {@code false}.
  85. *
  86. * @type {boolean}
  87. */
  88. DISABLE_RINGING: false,
  89. AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
  90. AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
  91. POLICY_LOGO: null,
  92. LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9
  93. REMOTE_THUMBNAIL_RATIO: 1, // 1:1
  94. // Documentation reference for the live streaming feature.
  95. LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live',
  96. /**
  97. * Whether the mobile app Jitsi Meet is to be promoted to participants
  98. * attempting to join a conference in a mobile Web browser. If
  99. * {@code undefined}, defaults to {@code true}.
  100. *
  101. * @type {boolean}
  102. */
  103. MOBILE_APP_PROMO: true,
  104. /**
  105. * Maximum coeficient of the ratio of the large video to the visible area
  106. * after the large video is scaled to fit the window.
  107. *
  108. * @type {number}
  109. */
  110. MAXIMUM_ZOOMING_COEFFICIENT: 1.3,
  111. /*
  112. * If indicated some of the error dialogs may point to the support URL for
  113. * help.
  114. */
  115. SUPPORT_URL: 'https://github.com/jitsi/jitsi-meet/issues/new',
  116. /**
  117. * Whether the connection indicator icon should hide itself based on
  118. * connection strength. If true, the connection indicator will remain
  119. * displayed while the participant has a weak connection and will hide
  120. * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is
  121. * strong.
  122. *
  123. * @type {boolean}
  124. */
  125. CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true,
  126. /**
  127. * How long the connection indicator should remain displayed before hiding.
  128. * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED.
  129. *
  130. * @type {number}
  131. */
  132. CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
  133. /**
  134. * If true, hides the connection indicators completely.
  135. *
  136. * @type {boolean}
  137. */
  138. CONNECTION_INDICATOR_DISABLED: false,
  139. /**
  140. * If true, hides the video quality label indicating the resolution status
  141. * of the current large video.
  142. *
  143. * @type {boolean}
  144. */
  145. VIDEO_QUALITY_LABEL_DISABLED: false,
  146. /**
  147. * If true, will display recent list
  148. *
  149. * @type {boolean}
  150. */
  151. RECENT_LIST_ENABLED: true,
  152. // Names of browsers which should show a warning stating the current browser
  153. // has a suboptimal experience. Browsers which are not listed as optimal or
  154. // unsupported are considered suboptimal. Valid values are:
  155. // chrome, chromium, edge, electron, firefox, nwjs, opera, safari
  156. OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron' ],
  157. // Browsers, in addition to those which do not fully support WebRTC, that
  158. // are not supported and should show the unsupported browser page.
  159. UNSUPPORTED_BROWSERS: [],
  160. /**
  161. * A UX mode where the last screen share participant is automatically
  162. * pinned. Valid values are the string "remote-only" so remote participants
  163. * get pinned but not local, otherwise any truthy value for all participants,
  164. * and any falsy value to disable the feature.
  165. *
  166. * Note: this mode is experimental and subject to breakage.
  167. */
  168. AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only'
  169. /**
  170. * How many columns the tile view can expand to. The respected range is
  171. * between 1 and 5.
  172. */
  173. // TILE_VIEW_MAX_COLUMNS: 5,
  174. /**
  175. * Specify custom URL for downloading android mobile app.
  176. */
  177. // MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
  178. /**
  179. * Specify URL for downloading ios mobile app.
  180. */
  181. // MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905',
  182. /**
  183. * Specify mobile app scheme for opening the app from the mobile browser.
  184. */
  185. // APP_SCHEME: 'org.jitsi.meet',
  186. /**
  187. * Specify the Android app package name.
  188. */
  189. // ANDROID_APP_PACKAGE: 'org.jitsi.meet',
  190. /**
  191. * Override the behavior of some notifications to remain displayed until
  192. * explicitly dismissed through a user action. The value is how long, in
  193. * milliseconds, those notifications should remain displayed.
  194. */
  195. // ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000,
  196. };
  197. /* eslint-enable no-unused-vars, no-var, max-len */