summaryrefslogtreecommitdiff
path: root/orkbasecxx/AudioCapture.cpp
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 /orkbasecxx/AudioCapture.cpp
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 'orkbasecxx/AudioCapture.cpp')
-rw-r--r--orkbasecxx/AudioCapture.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/orkbasecxx/AudioCapture.cpp b/orkbasecxx/AudioCapture.cpp
index 7a46739..d09f1cb 100644
--- a/orkbasecxx/AudioCapture.cpp
+++ b/orkbasecxx/AudioCapture.cpp
@@ -236,6 +236,8 @@ CStdString CaptureEvent::EventTypeToString(int eventTypeEnum)
return ET_ENDMETADATA;
case EtReady:
return ET_READY;
+ case EtUpdate:
+ return ET_UPDATE;
}
return ET_INVALID;
}
@@ -299,6 +301,10 @@ int CaptureEvent::EventTypeToEnum(CStdString& eventTypeString)
{
eventTypeEnum = EtReady;
}
+ else if (eventTypeString.CompareNoCase(ET_UPDATE) == 0)
+ {
+ eventTypeEnum = EtUpdate;
+ }
return eventTypeEnum;
}