-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.js
59 lines (59 loc) · 1.19 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
module.exports = {
listenIp: '0.0.0.0',
listenPort: 3000,
sslCrt: '/etc/ssl/certs/ssl-cert-snakeoil.pem',
sslKey: '/etc/ssl/private/ssl-cert-snakeoil.key',
mediasoup: {
// Worker settings
worker: {
rtcMinPort: 10000,
rtcMaxPort: 10100,
logLevel: 'warn',
logTags: [
'info',
'ice',
'dtls',
'rtp',
'srtp',
'rtcp',
// 'rtx',
// 'bwe',
// 'score',
// 'simulcast',
// 'svc'
],
},
// Router settings
router: {
mediaCodecs:
[
{
kind: 'audio',
mimeType: 'audio/opus',
clockRate: 48000,
channels: 2
},
{
kind: 'video',
mimeType: 'video/VP8',
clockRate: 90000,
parameters:
{
'x-google-start-bitrate': 1000
}
},
]
},
// WebRtcTransport settings
webRtcTransport: {
listenIps: [
{
ip: '127.0.0.1',
announcedIp: null,
}
],
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
}
}
};