A RetroSearch Logo

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

Search Query:

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

amendment on probing packets · Haivision/srt@ef11d26 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-1

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

@@ -9313,18 +9313,20 @@ std::pair<bool, steady_clock::time_point> srt::CUDT::packData(CPacket& w_packet)

9313 9313

m_stats.sndr.sentUnique.count(payload);

9314 9314

leaveCS(m_StatsLock);

9315 9315 9316 +

const duration sendint = m_tdSendInterval;

9316 9317

if (probe)

9317 9318

{

9318 9319

// sends out probing packet pair

9319 9320

m_tsNextSendTime = enter_time;

9321 +

// Sending earlier, need to adjust the pace later on.

9322 +

m_tdSendTimeDiff = m_tdSendTimeDiff.load() - sendint;

9320 9323

probe = false;

9321 9324

}

9322 9325

else

9323 9326

{

9324 9327

#if USE_BUSY_WAITING

9325 9328

m_tsNextSendTime = enter_time + m_tdSendInterval.load();

9326 9329

#else

9327 -

const duration sendint = m_tdSendInterval;

9328 9330

const duration sendbrw = m_tdSendTimeDiff;

9329 9331 9330 9332

if (sendbrw >= sendint)

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