A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/ad84c38e40ba36e18699dd5998684540620697a1 below:

[core] Fixed FileCC random decrease · Haivision/srt@ad84c38 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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