summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/RtpSession.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-12-28 16:37:45 +0000
committerHenri Herscher <henri@oreka.org>2006-12-28 16:37:45 +0000
commit53907f2d9156e7a0a2644f04f7eb507a2a48e9aa (patch)
treea1f657abe2b3d6a40491028e352b8e60471161a1 /orkaudio/audiocaptureplugins/voip/RtpSession.h
parent320f2a9dd5fd59b09e1977aa1f9344e219bf3d1a (diff)
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
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.h3
1 files changed, 3 insertions, 0 deletions
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<SipInviteInfo> 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<SipInviteInfoRef> m_invites;
};
typedef boost::shared_ptr<RtpSession> RtpSessionRef;