diff --git a/srtcore/core.cpp b/srtcore/core.cpp index a1ccdfaf1..a29f07ec0 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -9892,6 +9892,10 @@ int srt::CUDT::handleSocketPacketReception(const vector& incoming, bool& // A drawback is that it would prevent a valid packet with the same sequence number, if it happens to arrive later, to end up in the buffer. const int iDropCnt = m_pRcvBuffer->dropMessage(u->m_Packet.getSeqNo(), u->m_Packet.getSeqNo(), SRT_MSGNO_NONE); +#ifndef SRT_LOG_SLOWDOWN_FREQ_MS +#define SRT_LOG_SLOWDOWN_FREQ_MS 1000 +#endif + const steady_clock::time_point tnow = steady_clock::now(); ScopedLock lg(m_StatsLock); m_stats.rcvr.dropped.count(stats::BytesPackets(iDropCnt * rpkt.getLength(), iDropCnt));