mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-06-18 14:51:03 +00:00
Switch to using stun.moonlight-stream.org for STUN
This commit is contained in:
@@ -298,7 +298,7 @@ void MoonlightInstance::STUNCallback(int32_t /*result*/, int32_t callbackId, pp:
|
|||||||
ret.Set("callbackId", pp::Var(callbackId));
|
ret.Set("callbackId", pp::Var(callbackId));
|
||||||
ret.Set("type", pp::Var("resolve"));
|
ret.Set("type", pp::Var("resolve"));
|
||||||
|
|
||||||
if (LiFindExternalAddressIP4("stun.stunprotocol.org", 3478, &wanAddr) == 0) {
|
if (LiFindExternalAddressIP4("stun.moonlight-stream.org", 3478, &wanAddr) == 0) {
|
||||||
inet_ntop(AF_INET, &wanAddr, addrStr, sizeof(addrStr));
|
inet_ntop(AF_INET, &wanAddr, addrStr, sizeof(addrStr));
|
||||||
ret.Set("ret", pp::Var(addrStr));
|
ret.Set("ret", pp::Var(addrStr));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user