summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhenrih <henrih@09dcff7a-b715-0410-9601-b79a96267cd0>2009-11-24 16:40:30 +0000
committerhenrih <henrih@09dcff7a-b715-0410-9601-b79a96267cd0>2009-11-24 16:40:30 +0000
commit455e0e4f8b8a9139b253eccc12e84732721abfc2 (patch)
tree493530aeecd6fbd686be201aba6328526d744931
parent883488af414b51b547661b427aa377a1c505498f (diff)
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
-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 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
{