-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.example.js
182 lines (148 loc) · 4.75 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
/**
* Edumeet App Configuration
*
* The configuration documentation is available also:
* - in the app/README.md file in the source tree
*/
// eslint-disable-next-line
var config = {
// Location of management service.
managementUrl: 'http://localhost:3030',
// Location of the privacy files.
impressumUrl: '/privacy/privacy.html',
// If ability to log in is enabled.
loginEnabled: true,
// The development server listening port.
developmentPort: 8443,
// 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: '',
// Join dialog defaults to ask for media, this can be disabled by setting this to false.
askForMediaOnJoin: true,
// Don't show the participant tile if the user has no video
hideNonVideo: false,
// The default video camera capture resolution.
resolution: 'medium',
// The default video camera capture framerate.
frameRate: 30,
// The default screen sharing resolution.
screenSharingResolution: 'veryhigh',
// The default screen sharing framerate.
screenSharingFrameRate: 5,
// Video aspect ratio.
aspectRatio: 1.778,
// Enable or disable simulcast for webcam video.
simulcast: true,
// Enable or disable simulcast for screen sharing video.
simulcastSharing: false,
// Auto gain control enabled.
autoGainControl: true,
// Echo cancellation enabled.
echoCancellation: true,
// Noise suppression enabled.
noiseSuppression: true,
// 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,
'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,
'sampleRate': 48000,
'channelCount': 2,
'sampleSize': 16,
'opusStereo': true,
'opusDtx': false,
'opusFec': true,
'opusPtime': 60,
'opusMaxPlaybackRate': 48000
}
},
// If true, the media control buttons will be shown in separate control bar, not in the ME container.
buttonControlBar: true,
// 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'
},
'finishedCountdownTimer': {
'play': '/sounds/notify-countdowntimer.mp3'
},
'default': {
'debounce': 5000,
'play': '/sounds/notify.mp3'
}
},
// The title to show if the logo is not specified.
title: 'edumeet',
// If true, a random room name will be generated when the input field is blank;
// otherwise, it will remain empty and users will have to enter a room name.
randomizeOnBlank: true,
// Enable or disable transcription.
transcriptionEnabled: true,
// Imprint. If you want to link your imprint, please provide a URL in this variable. If it is empty, no link will be shown.
imprintUrl: '',
// Privacy notice. If you want to link your privacy notices, please provide a URL in this variable. If it is empty, no link will be shown.
privacyUrl: '',
// Client theme. Take a look at mui theme documentation.
theme: {
palette: {
primary: {
main: '#313131',
}
},
// The page background image URL
backgroundImage: 'images/background.jpg',
appBarColor: '#313131', // AppBar background color
appBarFloating: true, // If true, the AppBar will be moved in a bit from the top and sides of the page
// If not null, it shows the logo loaded from the specified URL, otherwise it shows the title.
logo: 'images/logo.edumeet.svg',
activeSpeakerBorder: '1px solid rgba(255, 255, 255, 1.0)',
videoBackroundColor: 'rgba(49, 49, 49, 0.9)',
videoAvatarImage: 'images/buddy.svg',
sideContentItemColor: 'rgba(255, 255, 255, 0.4)',
sideContentItemDarkColor: 'rgba(150, 150, 150, 0.4)',
roundedness: 10, // Rounded corners on the various elements
},
reduxLoggingEnabled: false
};