mirror of
https://github.com/livekit/livekit.git
synced 2026-08-27 22:34:25 +00:00
Don't filter out ipv6 address for client don't support prflx over relay (#2193)
candidate
This commit is contained in:
@@ -322,6 +322,9 @@ func newPeerConnection(params TransportParams, onBandwidthEstimator func(estimat
|
||||
params.Logger.Infow("client doesn't support prflx over relay, use external ip only as host candidate", "ips", nat1to1Ips)
|
||||
se.SetNAT1To1IPs(nat1to1Ips, webrtc.ICECandidateTypeHost)
|
||||
se.SetIPFilter(func(ip net.IP) bool {
|
||||
if ip.To4() == nil {
|
||||
return true
|
||||
}
|
||||
ipstr := ip.String()
|
||||
for _, inc := range includeIps {
|
||||
if inc == ipstr {
|
||||
|
||||
Reference in New Issue
Block a user