summaryrefslogtreecommitdiff
path: root/orkaudio
diff options
context:
space:
mode:
Diffstat (limited to 'orkaudio')
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
index 2cac30c..8cfbab7 100644
--- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
+++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
@@ -458,11 +458,10 @@ void RtpSessions::ReportSkinnyCallInfo(SkCallInfoStruct* callInfo)
CStdString callId = IntToString(callInfo->callId);
std::map<CStdString, RtpSessionRef>::iterator pair;
pair = m_byCallId.find(callId);
+
if (pair != m_byCallId.end())
{
- // A session exists on the same CallId, stop old session
- RtpSessionRef session = pair->second;
- Stop(session);
+ return; // CM can resend the same message more than once in a session, so do nothing in this case
}
// create new session and insert into the callid map