+1
-2
lines changedFilter options
+1
-2
lines changed Original file line number Diff line number Diff line change
@@ -535,8 +535,7 @@ class FileCC : public SrtCongestionControlBase
535
535
536
536
m_iLastDecSeq = m_parent->sndSeqNo();
537
537
538
-
// remove global synchronization using randomization.
539
-
m_iDecRandom = genRandomInt(1, m_iAvgNAKNum);
538
+
m_iDecRandom = m_iAvgNAKNum > 1 ? genRandomInt(1, m_iAvgNAKNum) : 1;
540
539
SRT_ASSERT(m_iDecRandom >= 1);
541
540
HLOGC(cclog.Debug, log << "FileCC: LOSS:NEW lseqno=" << lossbegin
542
541
<< ", lastsentseqno=" << m_iLastDecSeq
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4