updated config documentation

This commit is contained in:
David Zhao
2021-04-16 15:12:18 -07:00
parent 0fc0745c4c
commit 53480b1611
+13 -11
View File
@@ -14,27 +14,29 @@ redis:
# WebRTC configuration # WebRTC configuration
rtc: rtc:
# when set, LiveKit will try to route traffic over TCP when UDP isn't available # the main UDP port to transport WebRTC data
# this port cannot be behind load balancer or TLS, and must be exposed on the node
tcp_port: 7881
udp_port: 9000 udp_port: 9000
# UDP port range to transport WebRTC data # when set, LiveKit enable WebRTC ICE over TCP when UDP isn't available
port_range_start: 9000 # this port *cannot* be behind load balancer or TLS, and must be exposed on the node
port_range_end: 11000 # WebRTC transports are encrypted and do not require additional encryption
tcp_port: 7881
# when set to true, attempts to discover the host's public IP via STUN # when set to true, attempts to discover the host's public IP via STUN
# this is useful for cloud environments such as AWS, where hosts have an internal IP # this is useful for cloud environments such as AWS, where hosts have an internal IP
# that maps to an external one # that maps to an external one
use_external_ip: true use_external_ip: true
# when using REMB, the max bitrate that the SFU would accept # optional settings
max_bitrate: 3145728 # # when using REMB, the max bitrate that the SFU would accept, defaults to 3Mbps
# number of packets to buffer in the SFU, defaults to 500 # max_bitrate: 3145728
# # number of packets to buffer in the SFU, defaults to 500
# packet_buffer_size: 500 # packet_buffer_size: 500
# optional stun servers to use. by default LiveKit uses Google's public STUN servers # # optional stun servers to use. by default LiveKit uses Google's public STUN servers
# # LiveKit will automatically configure connected clients to use the same STUN servers
# stun_servers: # stun_servers:
# - server1 # - server1
# API key / secret pairs. # API key / secret pairs.
# Keys are used for JWT authentication # Keys are used for JWT authentication, server APIs would require a keypair in order to generate access tokens
# and make calls to the server
keys: keys:
key1: secret1 key1: secret1
key2: secret2 key2: secret2