forked from ionorg/ion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavp.toml
39 lines (33 loc) · 866 Bytes
/
avp.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
[global]
pprof = ":6063"
# data center id
dc = "dc1"
[nats]
url = "nats://127.0.0.1:4222"
[element.webmsaver]
on = true
# webm output path
path = "./out/"
[samplebuilder]
# max late for audio rtp packets
audiomaxlate = 100
# max late for video rtp packets
videomaxlate = 200
[log]
level = "info"
[webrtc]
# PLI Cycle defines an interval (ms) on which the AVP will
# request a keyframe. This PLI request will propogate to the
# sender. It results in more bandwidth usage but will improve
# recording quality.
pliCycle = 1000
# 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"