[Opalvoip-svn] SF.net SVN: opalvoip:[34632] opal/trunk
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2016-02-16 15:09:54
|
Revision: 34632 http://sourceforge.net/p/opalvoip/code/34632 Author: rjongbloed Date: 2016-02-16 15:09:52 +0000 (Tue, 16 Feb 2016) Log Message: ----------- Added trace log for strange condition where remote indicates in RTCP Sender Report that the packets lost greater than the number of packets we sent. Modified Paths: -------------- opal/trunk/include/rtp/rtp_session.h opal/trunk/src/rtp/rtp_session.cxx Modified: opal/trunk/include/rtp/rtp_session.h =================================================================== --- opal/trunk/include/rtp/rtp_session.h 2016-02-16 14:40:34 UTC (rev 34631) +++ opal/trunk/include/rtp/rtp_session.h 2016-02-16 15:09:52 UTC (rev 34632) @@ -745,6 +745,7 @@ PTRACE_THROTTLE(m_throttleTxRED,3,60000); PTRACE_THROTTLE(m_throttleRxRED,3,60000); PTRACE_THROTTLE(m_throttleRxUnknownFEC,3,10000); + PTRACE_THROTTLE(m_throttleInvalidLost,2,60000); P_REMOVE_VIRTUAL(SendReceiveStatus, OnSendData(RTP_DataFrame &, bool), e_AbortTransport); }; Modified: opal/trunk/src/rtp/rtp_session.cxx =================================================================== --- opal/trunk/src/rtp/rtp_session.cxx 2016-02-16 14:40:34 UTC (rev 34631) +++ opal/trunk/src/rtp/rtp_session.cxx 2016-02-16 15:09:52 UTC (rev 34632) @@ -1079,6 +1079,8 @@ PTRACE(m_throttleRxRR, &m_session, m_session << "OnReceiverReport: " << report << m_throttleRxRR); m_packetsLost = report.totalLost; + PTRACE(m_throttleInvalidLost, &m_session, m_session << "remote indicated packet loss (" << m_packetsLost << ")" + " larger than number of packets we sent (" << m_packets << ')' << m_throttleInvalidLost); m_currentjitter = (report.jitter + m_session.m_timeUnits -1)/m_session.m_timeUnits; if (m_maximumJitter < m_currentjitter) m_maximumJitter = m_currentjitter; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |