diff options
author | Henri Herscher <henri@oreka.org> | 2006-05-15 20:40:42 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2006-05-15 20:40:42 +0000 |
commit | 3af3283a6d47dd1b98384753bf86de13106d14ec (patch) | |
tree | 64189d182811d44419acd84cb2a78612c6f309ba /orkaudio/AudioTape.cpp | |
parent | d3c2260dd67fe80d256869b81812ff1e3171c62f (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/AudioTape.cpp')
-rw-r--r-- | orkaudio/AudioTape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orkaudio/AudioTape.cpp b/orkaudio/AudioTape.cpp index 60580e3..7495dc3 100644 --- a/orkaudio/AudioTape.cpp +++ b/orkaudio/AudioTape.cpp @@ -192,7 +192,7 @@ void AudioTape::AddCaptureEvent(CaptureEventRef eventRef, bool send) case CaptureEvent::EtStop: m_shouldStop = true; - m_duration = time(NULL) - m_beginDate; + m_duration = eventRef->m_timestamp - m_beginDate; { // Log the call details |