forked from ionorg/ion-sfu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
35 lines (31 loc) · 836 Bytes
/
config.toml
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
[router]
# pass bandwidth feeback to pub
rembfeedback = false
# Cap bandwidth feedback
minbandwidth = 100000
maxbandwidth = 5000000
[receiver.video]
# the remb cycle sending to pub, this told the pub it's bandwidth
rembcycle = 2
# pli cycle sending to pub, and pub will send a key frame
plicycle = 1
# transport-cc cycle (experiment feature)
tcccycle = 1
# this limit the remb bandwidth
maxbandwidth = 1000
# max buffer time by ms
maxbuffertime = 1000
[webrtc]
# Range of ports that ion accepts WebRTC traffic on
# Format: [min, max] and max - min >= 100
# portrange = [50000, 60000]
# if sfu behind nat, set iceserver
# [[webrtc.iceserver]]
# urls = ["stun:stun.stunprotocol.org:3478"]
# [[webrtc.iceserver]]
# urls = ["turn:turn.awsome.org:3478"]
# username = "awsome"
# credential = "awsome"
[log]
stats = true
level = "debug"