mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 19:43:01 +00:00
Set relay quota per participant at 12 default for dual peer connection + resume scenarios (#4745)
This commit is contained in:
1 parent
3c6e56232e
commit
c432e49c1e
2 files changed
+5
-1
No files matched your search
@@ -300,6 +300,10 @@ keys:
|
||||
# # set UDP port range for TURN relay to connect to LiveKit SFU, by default it uses a any available port
|
||||
# relay_range_start: 1024
|
||||
# relay_range_end: 30000
|
||||
# # caps the number of concurrent relay allocations a single participant credential may hold.
|
||||
# # prevents one authenticated participant from exhausting the shared relay-port range for everyone else.
|
||||
# # defaults to 12; a value <= 0 disables the quota.
|
||||
# per_user_relay_allocation_limit: 12
|
||||
# # set external_tls to true if using a L4 load balancer to terminate TLS. when enabled,
|
||||
# # LiveKit expects unencrypted traffic on tls_port, and still advertise tls_port as a TURN/TLS candidate.
|
||||
# external_tls: true
|
||||
|
||||
@@ -64,7 +64,7 @@ const (
|
||||
// allocations a single participant credential may hold on the embedded TURN
|
||||
// server. It prevents one authenticated participant from exhausting the
|
||||
// shared relay-port range for everyone else. A value <= 0 disables the quota.
|
||||
DefaultTURNPerUserRelayAllocationLimit = 4
|
||||
DefaultTURNPerUserRelayAllocationLimit = 12
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in new issue
Block a user