From 53907f2d9156e7a0a2644f04f7eb507a2a48e9aa Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 28 Dec 2006 16:37:45 +0000 Subject: SIP Session metadata can now be updated when a new RTP stream is seen that matches one of the INVITE messages associated with the session. When this happens, a new tape message with stage=update is generated with the updated metadata. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@381 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index 77db42d..f2216aa 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -36,6 +36,7 @@ public: CStdString m_from; CStdString m_to; CStdString m_callId; + bool m_validated; // true when an RTP stream has been seen for the INVITE }; typedef boost::shared_ptr SipInviteInfoRef; @@ -90,6 +91,7 @@ private: void ProcessMetadataSip(RtpPacketInfoRef&); void ProcessMetadataSipIncoming(); void ProcessMetadataSipOutgoing(); + void UpdateMetadataSip(RtpPacketInfoRef& rtpPacket, bool); void ProcessMetadataRawRtp(RtpPacketInfoRef&); void ProcessMetadataSkinny(RtpPacketInfoRef& rtpPacket); void ReportMetadata(); @@ -118,6 +120,7 @@ private: double m_minRtpSeqDelta; double m_minRtpTimestampDelta; TcpAddressList m_rtpAddressList; + std::list m_invites; }; typedef boost::shared_ptr RtpSessionRef; -- cgit v1.2.3