From 33e01d4abe8ba6b8cb02c26d39fb4a36b89dfc96 Mon Sep 17 00:00:00 2001 From: Sektor van Skijlen Date: Fri, 23 Mar 2018 17:14:30 +0100 Subject: [PATCH] Changed faststart duration for inputrate to 1s (#316) --- srtcore/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srtcore/core.cpp b/srtcore/core.cpp index e08477e02..7f458f621 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -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;