From 455e0e4f8b8a9139b253eccc12e84732721abfc2 Mon Sep 17 00:00:00 2001 From: henrih Date: Tue, 24 Nov 2009 16:40:30 +0000 Subject: When SetMediaAddress() takes a media address from an older session, let the older session go into timeout rather than stop is straight away. This is useful for skinny internal calls where media address back and forth must not kill sessions with the best metadata. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@653 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index 35846dc..891a4b1 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -2182,7 +2182,7 @@ void RtpSessions::SetMediaAddress(RtpSessionRef& session, struct in_addr mediaIp logMsg.Format("[%s] on %s replaces [%s]", session->m_trackingId, mediaAddress, oldSession->m_trackingId); LOG4CXX_INFO(m_log, logMsg); - Stop(oldSession); + //Stop(oldSession); // Let the session go into timeout rather than stop is straight away, useful for skinny internal calls where media address back and forth must not kill sessions with the best metadata. } else { -- cgit v1.2.3