From 9edfbd0d3ac066d03e631627cd7c137b060de6b9 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Mon, 20 Jul 2009 20:41:13 +0000 Subject: Abstracted media address crafting and session lookup by media address so that it is easily possible to change the way the media address is generated. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@629 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index 101a441..30efc85 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -271,6 +271,8 @@ public: CStdString GetLocalPartyMap(CStdString& oldlocalparty); private: + void CraftMediaAddress(CStdString& mediaAddress, struct in_addr ipAddress, unsigned short udpPort); + RtpSessionRef findByMediaAddress(struct in_addr ipAddress, unsigned short udpPort); RtpSessionRef findByEndpointIp(struct in_addr endpointIpAddr, int passThruPartyId = 0); RtpSessionRef findNewestByEndpointIp(struct in_addr endpointIpAddr); RtpSessionRef findByEndpointIpUsingIpAndPort(struct in_addr endpointIpAddr); -- cgit v1.2.3