summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/Rtp.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2008-10-09 21:55:51 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2008-10-09 21:55:51 +0000
commitc09609077b6f5eb70db855eed4e909d9d563ffcc (patch)
tree2031d9259e4d2ec2c4d8830c0d92a5d09e416d43 /orkaudio/audiocaptureplugins/voip/Rtp.h
parent5bb054adba4ee2e174886852ddde6a70a4ecb9a9 (diff)
Added RTCP support. Key functionality is the ability to set the local party basing on the RTCP SDES information. A new configuration parameter, RtcpDetect, has been added. To enable RTCP, set RtcpDetect to true. This configuration should be done under the VoIpPlugin section of config.xml.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@562 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/Rtp.h')
-rw-r--r--orkaudio/audiocaptureplugins/voip/Rtp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/Rtp.h b/orkaudio/audiocaptureplugins/voip/Rtp.h
index b1568b1..6110499 100644
--- a/orkaudio/audiocaptureplugins/voip/Rtp.h
+++ b/orkaudio/audiocaptureplugins/voip/Rtp.h
@@ -58,5 +58,22 @@ public:
};
typedef boost::shared_ptr<RtpEventInfo> RtpEventInfoRef;
+class RtcpSrcDescriptionPacketInfo
+{
+public:
+ void ToString(CStdString& string);
+
+ struct in_addr m_sourceIp;
+ struct in_addr m_destIp;
+ unsigned short m_sourcePort;
+ unsigned short m_destPort;
+
+ CStdString m_cnameUsername;
+ CStdString m_cnameDomain;
+ CStdString m_cnamePort;
+ CStdString m_fullCname;
+};
+typedef boost::shared_ptr<RtcpSrcDescriptionPacketInfo> RtcpSrcDescriptionPacketInfoRef;
+
#endif