forked from ionorg/ion-sfu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
49 lines (44 loc) · 1.56 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[router]
# pass bandwidth feeback from subs to pubs
subrembfeedback = false
# Limit the remb bandwidth in kbps
# zero means no limits
maxbandwidth = 400
# Rate limit nack packets from senders to 1 nack per maxNackTime in seconds
# zero means no rate limit
maxnacktime = 1
[router.video]
# the remb cycle sending to pub, this told the pub it's bandwidth
rembcycle = 2
# transport-cc cycle in (ms) (experiment feature)
tcccycle = 0
# max buffer time by ms
maxbuffertime = 1000
[router.simulcast]
# Prefer best quality initially
bestqualityfirst = true
[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"
# In case you're deploying ion-sfu on a server which is configured with
# a 1:1 NAT (e.g., Amazon EC2), you might want to also specify the public
# address of the machine using the setting below. This will result in
# all host candidates (which normally have a private IP address) to
# be rewritten with the public address provided in the settings. As
# such, use the option with caution and only if you know what you're doing.
# Multiple public IP addresses can be specified as a comma separated list
# if the sfu is deployed in a DMZ between two 1-1 NAT for internal and
# external users.
# nat1to1 = ["1.2.3.4"]
[log]
stats = true
level = "debug"
fix = ["proc.go", "asm_amd64.s", "jsonrpc2.go"]