mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
Remove debug code
This commit is contained in:
parent
8033f932a6
commit
49605d52e0
1 changed files with 0 additions and 6 deletions
|
@ -129,12 +129,6 @@ int InboundAudioStream::parseData(ReceivedMessage& message) {
|
|||
int propertyBytes = parseStreamProperties(message.getType(), message.readWithoutCopy(message.getBytesLeftToRead()), networkFrames);
|
||||
message.seek(prePropertyPosition + propertyBytes);
|
||||
|
||||
// simulate 1% packetloss
|
||||
if (rand() < (RAND_MAX/100)) {
|
||||
arrivalInfo._status = SequenceNumberStats::Unreasonable;
|
||||
qDebug(audio) << "Simulated a lost packet...";
|
||||
}
|
||||
|
||||
// handle this packet based on its arrival status.
|
||||
switch (arrivalInfo._status) {
|
||||
case SequenceNumberStats::Unreasonable: {
|
||||
|
|
Loading…
Reference in a new issue