From 49bd54fee4e12d32b73b851e093048d87b01b88d Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 28 May 2009 22:00:25 +0000 Subject: And old session with signalling is now stopped when it had no RTP packets and a new session on the same RTP address comes in. Previously, the older session would prevail. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@617 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 e6f789c..dadaa8d 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -1815,7 +1815,7 @@ void RtpSessions::SetMediaAddress(RtpSessionRef& session, struct in_addr mediaIp { // A session exists on the same IP+port RtpSessionRef oldSession = pair->second; - if(oldSession->m_protocol == RtpSession::ProtRawRtp) + if(oldSession->m_protocol == RtpSession::ProtRawRtp || oldSession->m_numRtpPackets == 0) { logMsg.Format("[%s] on %s replaces [%s]", session->m_trackingId, ipAndPort, oldSession->m_trackingId); -- cgit v1.2.3