Skip to content

Commit

Permalink
Changed faststart duration for inputrate to 1s (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethouris authored and rndi committed Mar 23, 2018
1 parent 744dedd commit 33e01d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3024,8 +3024,8 @@ void CUDT::CCUpdate()
if (maxbw != 0)
m_pSRTCC->setMaxBW((maxbw * (100 + m_iOverheadBW))/100); //Bytes/sec

if ((m_llSentTotal > 2000) && (period < 5000000))
m_pSndBuffer->setInputRateSmpPeriod(5000000); //5 sec period after fast start
if ((m_llSentTotal > 2000) && (period < 1000000))
m_pSndBuffer->setInputRateSmpPeriod(1000000); //1 sec period after fast start
}
m_ullInterval = (uint64_t)(m_pCC->m_dPktSndPeriod * m_ullCPUFrequency);
m_dCongestionWindow = m_pCC->m_dCWndSize;
Expand Down

0 comments on commit 33e01d4

Please sign in to comment.