diff options
author | Henri Herscher <henri@oreka.org> | 2009-07-20 20:41:13 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2009-07-20 20:41:13 +0000 |
commit | 9edfbd0d3ac066d03e631627cd7c137b060de6b9 (patch) | |
tree | f5bde7dd7e022cfd19a570dedf08314ac0d7bb8a /orkaudio/audiocaptureplugins/voip/RtpSession.h | |
parent | 329f65fd45138a5b3a0bd3bcb89000cdd411828b (diff) |
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
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |