mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Merge pull request #14945 from kencooke/audio-stats-loss-underflow
Case 19748: Audio loss statistic occasionally displays a huge number
This commit is contained in:
commit
b3b3c2f721
1 changed files with 4 additions and 2 deletions
|
@ -142,8 +142,10 @@ SequenceNumberStats::ArrivalInfo SequenceNumberStats::sequenceNumberReceived(qui
|
||||||
if (wantExtraDebugging) {
|
if (wantExtraDebugging) {
|
||||||
qCDebug(networking) << "found it in _missingSet";
|
qCDebug(networking) << "found it in _missingSet";
|
||||||
}
|
}
|
||||||
_stats._lost--;
|
if (_stats._lost > 0) {
|
||||||
_stats._recovered++;
|
_stats._lost--;
|
||||||
|
_stats._recovered++;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// this late seq num is not in our missing set. it is possibly a duplicate, or possibly a late
|
// this late seq num is not in our missing set. it is possibly a duplicate, or possibly a late
|
||||||
// packet that should have arrived before our first received packet. we'll count these
|
// packet that should have arrived before our first received packet. we'll count these
|
||||||
|
|
Loading…
Reference in a new issue