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:
parent
a1f3b06d52
commit
b6e3dc4304
|
@ -273,9 +273,8 @@ void RTPReceiver::rtpData(const void* data, int len)
|
||||||
seq,ts,m_tsLast,m_seq,this);
|
seq,ts,m_tsLast,m_seq,this);
|
||||||
else
|
else
|
||||||
TraceDebug(m_traceId,dbg(),DebugNote,"RTP sequence resync: %u -> %u [%p]",m_seq,seq,this);
|
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_seq = seq;
|
||||||
m_ts = ts - m_tsLast;
|
|
||||||
m_seqCount = 0;
|
m_seqCount = 0;
|
||||||
if (m_warnSeq > 0)
|
if (m_warnSeq > 0)
|
||||||
m_warn = true;
|
m_warn = true;
|
||||||
|
|
Loading…
Reference in New Issue