Przeglądaj źródła

auto acp scripted

dev
jfinn 5 lat temu
rodzic
commit
163b91c88e
1 zmienionych plików z 262 dodań i 0 usunięć
  1. 262
    0
      i0_conf.js

+ 262
- 0
i0_conf.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz