From cb587cca9b1f7063fc613b8544a69f94feff5a76 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Wed, 14 Dec 2005 17:00:57 +0000 Subject: Linux compiling fix git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@109 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'orkaudio') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index 0273d88..3e8711a 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -414,7 +414,8 @@ void RtpSessions::ReportSipInvite(SipInviteInfoRef& invite) } // create new session and insert into both maps - RtpSessionRef session(new RtpSession(alphaCounter.GetNext())); + CStdString trackingId = alphaCounter.GetNext(); + RtpSessionRef session(new RtpSession(trackingId)); session->m_ipAndPort = ipAndPort; session->m_callId = invite->m_callId; session->m_protocol = RtpSession::ProtSip; @@ -449,7 +450,8 @@ void RtpSessions::ReportSkinnyCallInfo(SkCallInfoStruct* callInfo) } // create new session and insert into the callid map - RtpSessionRef session(new RtpSession(alphaCounter.GetNext())); + CStdString trackingId = alphaCounter.GetNext(); + RtpSessionRef session(new RtpSession(trackingId)); session->m_callId = callId; session->m_protocol = RtpSession::ProtSkinny; switch(callInfo->callType) @@ -616,7 +618,8 @@ void RtpSessions::ReportRtpPacket(RtpPacketInfoRef& rtpPacket) if(numSessionsFound == 0) { // create new Raw RTP session and insert into IP+Port map - RtpSessionRef session(new RtpSession(alphaCounter.GetNext())); + CStdString trackingId = alphaCounter.GetNext(); + RtpSessionRef session(new RtpSession(trackingId)); session->m_protocol = RtpSession::ProtRawRtp; session->m_ipAndPort = ipAndPort; m_byIpAndPort.insert(std::make_pair(ipAndPort, session)); -- cgit v1.2.3