A RetroSearch Logo

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

Search Query:

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

[core] Fix rtt estimate in bidirectional mode · Haivision/srt@ae787bf · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -8457,8 +8457,8 @@ void srt::CUDT::processCtrlAck(const CPacket &ctrlpkt, const steady_clock::time_

8457 8457 8458 8458

if (crtt != INITIAL_RTT && rttvar != INITIAL_RTTVAR)

8459 8459

{

8460 -

crttvar = avg_iir<4>(crttvar, abs(crtt - crtt));

8461 -

crtt = avg_iir<8>(crtt, crtt);

8460 +

crttvar = avg_iir<4>(crttvar, abs(crtt - rtt));

8461 +

crtt = avg_iir<8>(crtt, rtt);

8462 8462

}

8463 8463

m_iSRTT = crtt;

8464 8464

m_iRTTVar = crttvar;

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