mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Switch to using stun.moonlight-stream.org for STUN
This commit is contained in:
parent
6a6022cda7
commit
ee803c6247
2
main.cpp
2
main.cpp
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user