mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 00:44:38 +02:00
fix for peer addition from ice-server
This commit is contained in:
parent
55a7180838
commit
cb6e420392
2 changed files with 2 additions and 2 deletions
|
@ -1051,7 +1051,7 @@ void DomainServer::processICEHeartbeatResponse(const QByteArray& packet) {
|
||||||
while (!iceResponseStream.atEnd()) {
|
while (!iceResponseStream.atEnd()) {
|
||||||
iceResponseStream >> receivedPeer;
|
iceResponseStream >> receivedPeer;
|
||||||
|
|
||||||
if (!_connectingICEPeers.contains(receivedPeer.getUUID()) && _connectedICEPeers.contains(receivedPeer.getUUID())) {
|
if (!_connectingICEPeers.contains(receivedPeer.getUUID()) && !_connectedICEPeers.contains(receivedPeer.getUUID())) {
|
||||||
qDebug() << "New peer requesting connection being added to hash -" << receivedPeer;
|
qDebug() << "New peer requesting connection being added to hash -" << receivedPeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ public:
|
||||||
|
|
||||||
bool requiresICE() const { return !_iceServerSockAddr.isNull(); }
|
bool requiresICE() const { return !_iceServerSockAddr.isNull(); }
|
||||||
const HifiSockAddr& getICEServerSockAddr() const { return _iceServerSockAddr; }
|
const HifiSockAddr& getICEServerSockAddr() const { return _iceServerSockAddr; }
|
||||||
NetworkPeer& getICEPeer() const { return _icePeer; }
|
NetworkPeer& getICEPeer() { return _icePeer; }
|
||||||
void activateICELocalSocket();
|
void activateICELocalSocket();
|
||||||
void activateICEPublicSocket();
|
void activateICEPublicSocket();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue