From 8ff1a11d660e4339c9f2461acb4d8cc253621e86 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 20 Apr 2006 16:15:50 +0000 Subject: used the long timeout for sessions only in the bycallid map git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@220 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.cpp') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index c050806..ccd5fa0 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -823,7 +823,7 @@ void RtpSessions::ReportRtpPacket(RtpPacketInfoRef& rtpPacket) void RtpSessions::StopAll() { - time_t forceExpiryTime = time(NULL) + 2*RTP_SESSION_TIMEOUT; + time_t forceExpiryTime = time(NULL) + 2*RTP_WITH_SIGNALLING_SESSION_TIMEOUT; Hoover(forceExpiryTime); } @@ -867,7 +867,7 @@ void RtpSessions::Hoover(time_t now) for(pair = m_byCallId.begin(); pair != m_byCallId.end(); pair++) { RtpSessionRef session = pair->second; - if((now - session->m_lastUpdated) > RTP_SESSION_TIMEOUT) + if((now - session->m_lastUpdated) > RTP_WITH_SIGNALLING_SESSION_TIMEOUT) { toDismiss.push_back(session); } -- cgit v1.2.3