Revision: 34631
http://sourceforge.net/p/opalvoip/code/34631
Author: rjongbloed
Date: 2016-02-16 14:40:34 +0000 (Tue, 16 Feb 2016)
Log Message:
-----------
Fixed last packet absolute time in media statistics, if not got RTCP from remote yet, then use local computer time.
Modified Paths:
--------------
opal/trunk/src/rtp/rtp_session.cxx
Modified: opal/trunk/src/rtp/rtp_session.cxx
===================================================================
--- opal/trunk/src/rtp/rtp_session.cxx 2016-02-16 10:41:04 UTC (rev 34630)
+++ opal/trunk/src/rtp/rtp_session.cxx 2016-02-16 14:40:34 UTC (rev 34631)
@@ -404,6 +404,8 @@
PTimeInterval tick = PTimer::Tick();
m_lastPacketTick = tick;
m_lastPacketAbsTime = frame.GetAbsoluteTime();
+ if (!m_lastPacketAbsTime.IsValid())
+ m_lastPacketAbsTime.SetCurrentTime();
m_lastPacketTimestamp = frame.GetTimestamp();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|