summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-05-15 20:40:42 +0000
committerHenri Herscher <henri@oreka.org>2006-05-15 20:40:42 +0000
commit3af3283a6d47dd1b98384753bf86de13106d14ec (patch)
tree64189d182811d44419acd84cb2a78612c6f309ba /orkaudio/audiocaptureplugins/voip/RtpSession.cpp
parentd3c2260dd67fe80d256869b81812ff1e3171c62f (diff)
Recording duration is now based on the last time we got an RTP packet, not the end of the possible timeout.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@231 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.cpp')
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
index c1c9bc8..d59e43d 100644
--- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
+++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
@@ -56,7 +56,7 @@ void RtpSession::Stop()
{
CaptureEventRef stopEvent(new CaptureEvent);
stopEvent->m_type = CaptureEvent::EtStop;
- stopEvent->m_timestamp = time(NULL);
+ stopEvent->m_timestamp = m_lastUpdated;
g_captureEventCallBack(stopEvent, m_capturePort);
m_stopped = true;
}