mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 13:33:26 +02:00
set the default hostname for GVRInterface client
This commit is contained in:
parent
9f4e1c8a27
commit
a8cc565baf
2 changed files with 2 additions and 3 deletions
|
@ -20,6 +20,8 @@ GVRInterface::GVRInterface(int argc, char* argv[]) :
|
|||
|
||||
connect(&nodeList->getNodeSocket(), &QUdpSocket::readyRead, this, &GVRInterface::processDatagrams);
|
||||
|
||||
nodeList->getDomainHandler().setHostname(DEFAULT_DOMAIN_HOSTNAME);
|
||||
|
||||
QTimer* domainServerTimer = new QTimer(this);
|
||||
connect(domainServerTimer, &QTimer::timeout, nodeList, &NodeList::sendDomainServerCheckIn);
|
||||
domainServerTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
|
||||
|
|
|
@ -268,7 +268,6 @@ bool NodeList::processSTUNResponse(const QByteArray& packet) {
|
|||
}
|
||||
|
||||
void NodeList::sendDomainServerCheckIn() {
|
||||
qDebug() << "SEND DOMAIN SERVER CHECK IN";
|
||||
if (_publicSockAddr.isNull() && !_hasCompletedInitialSTUNFailure) {
|
||||
// we don't know our public socket and we need to send it to the domain server
|
||||
// send a STUN request to figure it out
|
||||
|
@ -277,8 +276,6 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
handleICEConnectionToDomainServer();
|
||||
} else if (!_domainHandler.getIP().isNull()) {
|
||||
|
||||
qDebug() << "SENDING A CHECK IN TO" << _domainHandler.getIP().toString();
|
||||
|
||||
bool isUsingDTLS = false;
|
||||
|
||||
PacketType domainPacketType = !_domainHandler.isConnected()
|
||||
|
|
Loading…
Reference in a new issue