mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 16:34:24 +02:00
send an ICE heartbeat anytime the domain-server local socket changes
This commit is contained in:
parent
f89b225da2
commit
b61e659382
1 changed files with 2 additions and 1 deletions
|
@ -357,7 +357,8 @@ void DomainServer::setupAutomaticNetworking() {
|
|||
connect(iceHeartbeatTimer, &QTimer::timeout, this, &DomainServer::performICEUpdates);
|
||||
iceHeartbeatTimer->start(ICE_HEARBEAT_INTERVAL_MSECS);
|
||||
|
||||
// call our sendHeartbeaToIceServer immediately anytime a public address changes
|
||||
// call our sendHeartbeaToIceServer immediately anytime a local or public socket changes
|
||||
connect(nodeList, &LimitedNodeList::localSockAddrChanged, this &DomainServer::sendHearbeatToIceServer);
|
||||
connect(nodeList, &LimitedNodeList::publicSockAddrChanged, this, &DomainServer::sendHearbeatToIceServer);
|
||||
|
||||
// tell the data server which type of automatic networking we are using
|
||||
|
|
Loading…
Reference in a new issue