From e186e115baed3bd68f387dc8de1594add7a6e54c Mon Sep 17 00:00:00 2001 From: "guangqing.chen" Date: Mon, 29 Mar 2021 11:36:40 +0800 Subject: [PATCH] [core] check timestamp carryover for keepalive packets --- srtcore/core.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srtcore/core.cpp b/srtcore/core.cpp index c31b7088a..85cf3c337 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -8264,7 +8264,8 @@ void CUDT::processCtrl(const CPacket &ctrlpkt) case UMSG_KEEPALIVE: // 001 - Keep-alive handleKeepalive(ctrlpkt.m_pcData, ctrlpkt.getLength()); - + // to check timestamp carryover + m_pRcvBuffer->getTsbPdTimeBase(ctrlpkt.getMsgTimeStamp()); break; case UMSG_HANDSHAKE: // 000 - Handshake