Set relay quota per participant at 12 default for dual peer connection + resume scenarios (#4745)

This commit is contained in:
Raja Subramanian authored and GitHub committed 2026-08-12 12:57:16 +05:30
1 parent 3c6e56232e
commit c432e49c1e
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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 (