Files
livekit/pkg/service
armaan4658 45b5584c84 service: default TURN relays to IPv4 when no bind address is IPv6 (#5138)
When an Allocate has no REQUESTED-ADDRESS-FAMILY, as from browsers,
pion picks the relay family from the address the client reached. The
default bind address 0.0.0.0 is a dual-stack listener, so a client that
connects over IPv6 gets a udp6 relay, which the IPv4 bind address
cannot open. Every allocation fails with 508 Insufficient Capacity and
the client gets no relay candidate.

Set StrictAddressFamily, which keeps the RFC 8656 default of an IPv4
relay, when no bind address is IPv6. Those nodes could never open an
IPv6 relay, so no allocation that succeeded before changes. With an
IPv6 bind address, pion's default is kept.

Fixes #5131
2026-11-10 18:01:14 +08:00
..
2024-06-27 02:13:51 -07:00
2025-09-24 13:16:27 +05:30