Skip to content

Commit

Permalink
Re-enable IPv6
Browse files Browse the repository at this point in the history
Accidentally disabled with 02d6ef
  • Loading branch information
Sean-Der committed Jul 8, 2024
1 parent f562696 commit 0421ed0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/webrtc/webrtc.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ func createSettingEngine(isWHIP bool, udpMuxCache map[int]*ice.MultiUDPMuxDefaul
udpMuxOpts []ice.UDPMuxFromPortOption
err error
)
networkTypes := []webrtc.NetworkType{webrtc.NetworkTypeUDP4}
udpMuxOpts = append(udpMuxOpts, ice.UDPMuxFromPortWithNetworks(ice.NetworkTypeUDP4))
networkTypes := []webrtc.NetworkType{webrtc.NetworkTypeUDP4, webrtc.NetworkTypeUDP6}

if os.Getenv("INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP") != "" {
NAT1To1IPs = append(NAT1To1IPs, getPublicIP())
Expand Down

0 comments on commit 0421ed0

Please sign in to comment.