-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
27 lines (26 loc) · 748 Bytes
/
config.js
File metadata and controls
27 lines (26 loc) · 748 Bytes
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
let CONFIG = {
NEIGHBOR_SIZE: 7,
SHUFFLE_SIZE: 3,
TICK_INTERVAL: 20000,
DEFAULT_SIGNALLING_SERVERS: [
{
"socket": {
"server": "http://localhost:12345"
},
"signallingApiBase": "http://localhost:12345"
},
{
"socket": {
"server": "http://localhost:12346"
},
"signallingApiBase": "http://localhost:12346"
}
],
DEFAULT_BATCHING_DELAY_MS: 300,
DEFAULT_ICE_SERVERS: [
// The public Google STUN server
{urls: ['stun:stun.l.google.com:19302']},
],
DEFAULT_CHANNEL_STATE_TIMEOUT_MS: 30000, DEFAULT_SIGNALLING_SERVER_RECONNECT_DELAY_MS: 5000
};
module.exports = CONFIG;