mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 06:02:28 +02:00
add extra debug to IceServer
This commit is contained in:
parent
010cbd9934
commit
b1d240defd
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,9 @@ void IceServer::processDatagrams() {
|
|||
SharedNetworkPeer matchingPeer = _activePeers.value(connectRequestID);
|
||||
|
||||
if (matchingPeer) {
|
||||
|
||||
qDebug() << "Sending information for peer" << connectRequestID << "to peer" << senderUUID;
|
||||
|
||||
// we have the peer they want to connect to - send them pack the information for that peer
|
||||
sendPeerInformationPacket(*(matchingPeer.data()), &sendingSockAddr);
|
||||
|
||||
|
@ -90,6 +93,8 @@ void IceServer::processDatagrams() {
|
|||
|
||||
NetworkPeer dummyPeer(senderUUID, publicSocket, localSocket);
|
||||
sendPeerInformationPacket(dummyPeer, matchingPeer->getActiveSocket());
|
||||
} else {
|
||||
qDebug() << "Peer" << senderUUID << "asked for" << connectRequestID << "but no matching peer found";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue