From 0199ebe2c5c0102f54820fbe20af1bf5c15dc9aa Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Fri, 28 Oct 2005 16:32:05 +0000 Subject: SipSession becomes RtpSession git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@22 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/SipSession.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'orkaudio/audiocaptureplugins/voip/SipSession.h') diff --git a/orkaudio/audiocaptureplugins/voip/SipSession.h b/orkaudio/audiocaptureplugins/voip/SipSession.h index 566574e..086c191 100644 --- a/orkaudio/audiocaptureplugins/voip/SipSession.h +++ b/orkaudio/audiocaptureplugins/voip/SipSession.h @@ -37,7 +37,7 @@ public: }; -class SipSession +class RtpSession { public: #define PROT_RAW_RTP "RawRtp" @@ -47,7 +47,7 @@ public: static int ProtocolToEnum(CStdString& protocol); static CStdString ProtocolToString(int protocolEnum); - SipSession(); + RtpSession(); void Stop(); void Start(); void AddRtpPacket(RtpPacketInfoRef& rtpPacket); @@ -78,24 +78,24 @@ private: CaptureEvent::DirectionEnum m_direction; bool m_started; }; -typedef boost::shared_ptr SipSessionRef; +typedef boost::shared_ptr RtpSessionRef; -class SipSessions +class RtpSessions { public: - SipSessions(); + RtpSessions(); void Create(CStdString& ipAndPort); - void Stop(SipSessionRef& session); + void Stop(RtpSessionRef& session); void ReportSipInvite(SipInviteInfoRef& invite); void ReportSipBye(SipByeInfo bye); void ReportRtpPacket(RtpPacketInfoRef& rtpPacket); void Hoover(time_t now); private: - std::map m_byIpAndPort; - std::map m_byCallId; + std::map m_byIpAndPort; + std::map m_byCallId; LoggerPtr m_log; }; -typedef ACE_Singleton SipSessionsSingleton; +typedef ACE_Singleton RtpSessionsSingleton; #endif -- cgit v1.2.3