mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
fix(relay): Specify IP as Host rather than srflx
This commit is contained in:
@@ -53,7 +53,7 @@ func InitWebRTCAPI() error {
|
|||||||
|
|
||||||
nat11IP := GetFlags().NAT11IP
|
nat11IP := GetFlags().NAT11IP
|
||||||
if len(nat11IP) > 0 {
|
if len(nat11IP) > 0 {
|
||||||
settingEngine.SetNAT1To1IPs([]string{nat11IP}, webrtc.ICECandidateTypeSrflx)
|
settingEngine.SetNAT1To1IPs([]string{nat11IP}, webrtc.ICECandidateTypeHost)
|
||||||
slog.Info("Using NAT 1:1 IP for WebRTC", "nat11_ip", nat11IP)
|
slog.Info("Using NAT 1:1 IP for WebRTC", "nat11_ip", nat11IP)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user