Allow caller to provide STUN server

This commit is contained in:
Cameron Gutman 2019-01-04 18:05:01 -08:00
parent 0220dd921a
commit a83f6f2ef7

View File

@ -342,7 +342,7 @@ public class NvConnection {
}
}
public static String findExternalAddressForMdns() {
return MoonBridge.findExternalAddressIP4("stun.stunprotocol.org", 3478);
public static String findExternalAddressForMdns(String stunHostname, int stunPort) {
return MoonBridge.findExternalAddressIP4(stunHostname, stunPort);
}
}