summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-04-20 16:15:50 +0000
committerHenri Herscher <henri@oreka.org>2006-04-20 16:15:50 +0000
commit8ff1a11d660e4339c9f2461acb4d8cc253621e86 (patch)
tree4abb28a2582da0e3ad807b548e1b3dce883d2d4b
parenta0719fe5b29a1e11351f76ee6ee53f5b9038ca36 (diff)
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
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}