forked from edumeet/edumeet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.js
386 lines (328 loc) · 9.17 KB
/
config.example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
/**
* Edumeet App Configuration
*
* The configuration documentation is available also:
* - in the app/README.md file in the source tree
* - visiting the /?config=true page in a running instance
*/
// eslint-disable-next-line
var config = {
// If the login is enabled.
loginEnabled : false,
// The development server listening port.
developmentPort : 3443,
// The production server listening port.
productionPort : 443,
// If the server component runs on a different host than the app you can specify the host name.
serverHostname : '',
// Supported browsers version in bowser satisfy format.
supportedBrowsers : {
'windows' : {
'internet explorer' : '>12',
'microsoft edge' : '>18'
},
'microsoft edge' : '>18',
'safari' : '>12',
'firefox' : '>=60',
'chrome' : '>=74',
'chromium' : '>=74',
'opera' : '>=62',
'samsung internet for android' : '>=11.1.1.52'
},
// Network priorities.
networkPriorities : {
'audio' : 'high',
'mainVideo' : 'high',
'additionalVideos' : 'medium',
'screenShare' : 'medium'
},
// The aspect ratio of the videos as shown on the screen.
// This value must match exactly one of the values defined in aspectRatios.
aspectRatio : 1.777,
// The selectable aspect ratios in the user settings.
aspectRatios : [
{
'value' : 1.333,
'label' : '4 : 3'
},
{
'value' : 1.777,
'label' : '16 : 9'
}
],
// The default video camera capture resolution.
resolution : 'medium',
// The default video camera capture framerate.
frameRate : 15,
// The default screen sharing resolution.
screenResolution : 'veryhigh',
// The default screen sharing framerate.
screenSharingFrameRate : 5,
// Enable or disable simulcast for webcam video.
simulcast : true,
// Enable or disable simulcast for screen sharing video.
simulcastSharing : false,
// Define different encodings for various resolutions of the video.
simulcastProfiles : {
'320' : [
{
'scaleResolutionDownBy' : 1,
'maxBitRate' : 150000
}
],
'640' : [
{
'scaleResolutionDownBy' : 2,
'maxBitRate' : 150000
},
{
'scaleResolutionDownBy' : 1,
'maxBitRate' : 500000
}
],
'1280' : [
{
'scaleResolutionDownBy' : 4,
'maxBitRate' : 150000
},
{
'scaleResolutionDownBy' : 2,
'maxBitRate' : 500000
},
{
'scaleResolutionDownBy' : 1,
'maxBitRate' : 1200000
}
],
'1920' : [
{
'scaleResolutionDownBy' : 6,
'maxBitRate' : 150000
},
{
'scaleResolutionDownBy' : 3,
'maxBitRate' : 500000
},
{
'scaleResolutionDownBy' : 1,
'maxBitRate' : 3500000
}
],
'3840' : [
{
'scaleResolutionDownBy' : 12,
'maxBitRate' : 150000
},
{
'scaleResolutionDownBy' : 6,
'maxBitRate' : 500000
},
{
'scaleResolutionDownBy' : 1,
'maxBitRate' : 10000000
}
]
},
// The adaptive spatial layer selection scaling factor in the range [0.5, 1.0].
adaptiveScalingFactor : 0.75,
// If set to true Local Recording feature will be enabled.
localRecordingEnabled : false,
// White listing browsers that support audio output device selection.
audioOutputSupportedBrowsers : [
'chrome',
'opera'
],
// The Socket.io request timeout.
requestTimeout : 20000,
// The Socket.io request maximum retries.
requestRetries : 3,
// The Mediasoup transport options.
transportOptions : {
'tcp' : true
},
// Auto gain control enabled.
autoGainControl : true,
// Echo cancellation enabled.
echoCancellation : true,
// Noise suppression enabled.
noiseSuppression : true,
// Automatically unmute speaking above noiseThreshold.
voiceActivatedUnmute : false,
// This is only for voiceActivatedUnmute and audio-indicator.
noiseThreshold : -60,
// The audio sample rate.
sampleRate : 48000,
// The audio channels count.
channelCount : 1,
// The audio sample size count.
sampleSize : 16,
// If OPUS FEC stereo be enabled.
opusStereo : false,
// If OPUS DTX should be enabled.
opusDtx : true,
// If OPUS FEC should be enabled.
opusFec : true,
// The OPUS packet time.
opusPtime : 20,
// The OPUS playback rate.
opusMaxPlaybackRate : 48000,
// The audio preset
audioPreset : 'conference',
// The audio presets.
audioPresets : {
'conference' : {
'name' : 'Conference audio',
'autoGainControl' : true,
'echoCancellation' : true,
'noiseSuppression' : true,
'voiceActivatedUnmute' : false,
'noiseThreshold' : -60,
'sampleRate' : 48000,
'channelCount' : 1,
'sampleSize' : 16,
'opusStereo' : false,
'opusDtx' : true,
'opusFec' : true,
'opusPtime' : 20,
'opusMaxPlaybackRate' : 48000
},
'hifi' : {
'name' : 'HiFi streaming',
'autoGainControl' : false,
'echoCancellation' : false,
'noiseSuppression' : false,
'voiceActivatedUnmute' : false,
'noiseThreshold' : -60,
'sampleRate' : 48000,
'channelCount' : 2,
'sampleSize' : 16,
'opusStereo' : true,
'opusDtx' : false,
'opusFec' : true,
'opusPtime' : 60,
'opusMaxPlaybackRate' : 48000
}
},
// It sets the maximum number of participants in one room that can join unmuted.
// The next participant will join automatically muted.
// Set it to 0 to auto mute all.
// Set it to negative (-1) to never automatically auto mute but use it with caution,
// full mesh audio strongly decrease room capacity!
autoMuteThreshold : 4,
// The page background image URL
background : 'images/background.jpg',
// The default layout.
defaultLayout : 'democratic',
// If true, the media control buttons will be shown in separate control bar, not in the ME container.
buttonControlBar : false,
// If false, will push videos away to make room for side drawer.
// If true, will overlay side drawer over videos.
drawerOverlayed : true,
// The position of the notifications.
notificationPosition : 'right',
// It sets the notifications sounds.
// Valid keys are: 'parkedPeer', 'parkedPeers', 'raisedHand',
// 'chatMessage', 'sendFile', 'newPeer' and 'default'.
// Not defining a key is equivalent to using the default notification sound.
// Setting 'play' to null disables the sound notification.
//
notificationSounds : {
'chatMessage' : {
'play' : '/sounds/notify-chat.mp3'
},
'raisedHand' : {
'play' : '/sounds/notify-hand.mp3'
},
'default' : {
'delay' : 5000,
'play' : '/sounds/notify.mp3'
}
},
// Timeout for auto hiding the topbar and the buttons control bar.
hideTimeout : 3000,
// The maximum number of participants that will be visible in as speaker.
lastN : 4,
// The maximum number of participants that will be visible in as speaker for mobile users.
mobileLastN : 1,
// The highest number of lastN the user can select manually in the user interface.
maxLastN : 5,
// If true, the users can not change the number of visible speakers.
lockLastN : false,
// If not null, it shows the logo loaded from the specified URL, otherwise it shows the title.
logo : 'images/logo.edumeet.svg',
// The title to show if the logo is not specified.
title : 'edumeet',
// Informative text on the join page. If empty hidden.
infoTooltipText : '',
// Informative text link site on the join page. If empty hidden.
infoTooltipLink : '',
// Informative text description on the join page. If empty hidden.
infoTooltipDesc : '',
// The service & Support URL; if `null`, it will be not displayed on the about dialogs.
supportUrl : 'https://support.example.com',
// The privacy and data protection external URL or local HTML path.
privacyUrl : 'privacy/privacy.html',
// UI theme elements colors.
theme : {
'palette' : {
'primary' : {
'main' : '#313131'
}
},
'overrides' : {
'MuiAppBar' : {
'colorPrimary' : {
'backgroundColor' : '#313131'
}
},
'MuiButton' : {
'containedPrimary' : {
'backgroundColor' : '#5F9B2D',
'&:hover' : {
'backgroundColor' : '#5F9B2D'
}
},
'containedSecondary' : {
'backgroundColor' : '#f50057',
'&:hover' : {
'backgroundColor' : '#f50057'
}
}
},
'MuiFab' : {
'primary' : {
'backgroundColor' : '#518029',
'&:hover' : {
'backgroundColor' : '#518029'
},
'&:disabled' : {
'color' : '#999898',
'backgroundColor' : '#323131'
}
},
'secondary' : {
'backgroundColor' : '#f50057',
'&:hover' : {
'backgroundColor' : '#f50057'
},
'&:disabled' : {
'color' : '#999898',
'backgroundColor' : '#323131'
}
}
},
'MuiBadge' : {
'colorPrimary' : {
'backgroundColor' : '#5F9B2D',
'&:hover' : {
'backgroundColor' : '#518029'
}
}
}
},
'typography' : {
'useNextVariants' : true
}
}
};
// Generated with: `yarn gen-config-docs` from app/src/config.ts