mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 12:12:36 +02:00
remove debug added to catch injector DOS
This commit is contained in:
parent
311f1ac0e3
commit
0c2805db7e
1 changed files with 1 additions and 8 deletions
|
@ -295,14 +295,7 @@ int64_t AudioInjector::injectNextFrame() {
|
|||
|
||||
if (audioMixer) {
|
||||
// send off this audio packet
|
||||
auto bytesWritten = nodeList->sendUnreliablePacket(*_currentPacket, *audioMixer);
|
||||
if (bytesWritten < 0) {
|
||||
auto currentTime = _frameTimer->nsecsElapsed() / 1000;
|
||||
qDebug() << this << "error sending audio injector packet. NF:"
|
||||
<< _nextFrame << "CT:" << currentTime
|
||||
<< "CF:" << currentTime / AudioConstants::NETWORK_FRAME_USECS;
|
||||
}
|
||||
|
||||
nodeList->sendUnreliablePacket(*_currentPacket, *audioMixer);
|
||||
_outgoingSequenceNumber++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue