From b6e3dc4304cd45ae8579c2270b9620c0d8014e71 Mon Sep 17 00:00:00 2001 From: paulc Date: Thu, 28 Jan 2021 13:38:55 +0000 Subject: [PATCH] Do not reset RTP timestamp offset after a sequence resync. git-svn-id: http://yate.null.ro/svn/yate/trunk@6458 acf43c95-373e-0410-b603-e72c3f656dc1 --- libs/yrtp/session.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/yrtp/session.cpp b/libs/yrtp/session.cpp index 20052371..6e78dcf5 100644 --- a/libs/yrtp/session.cpp +++ b/libs/yrtp/session.cpp @@ -273,9 +273,8 @@ void RTPReceiver::rtpData(const void* data, int len) seq,ts,m_tsLast,m_seq,this); else TraceDebug(m_traceId,dbg(),DebugNote,"RTP sequence resync: %u -> %u [%p]",m_seq,seq,this); - // sync sequence and resync the timestamp offset + // sync sequence but keep the timestamp offset m_seq = seq; - m_ts = ts - m_tsLast; m_seqCount = 0; if (m_warnSeq > 0) m_warn = true;