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
This commit is contained in:
paulc 2021-01-28 13:38:55 +00:00
parent a1f3b06d52
commit b6e3dc4304
1 changed files with 1 additions and 2 deletions

View File

@ -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;