diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-08-14 09:23:07 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-08-14 09:23:07 +0000 |
commit | e163cf54ac781ad592da8a009876479204966b26 (patch) | |
tree | 34a5ad268d1f17971b45f82c8749724cff80ee96 /orkaudio/audiocaptureplugins/voip/RtpSession.h | |
parent | 1cf0cfc8155b0376d35017c4167bece5742fa6af (diff) |
Modified the orkaudio API for StartCapture and PauseCapture to carry out their respective operations when the nativecallid is supplied. Added a new API, StopCapture, which causes a session to stop when any of the party, orkuid or nativecallid is provided as a parameter. This API is different from the PauseCapture API in the sense that it actually causes a session to stop and the WAV file is produced. After calling StopCapture, the session cannot be re-started with the StartCapture API (record).
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@633 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index 30efc85..804511c 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -153,6 +153,7 @@ public: void ReportRtcpSrcDescription(RtcpSrcDescriptionPacketInfoRef& rtcpInfo); bool OrkUidMatches(CStdString &oUid); bool PartyMatches(CStdString &party); + bool NativeCallIdMatches(CStdString &callid); void UpdateMetadataSkinny(); void ReportSkinnyCallInfo(SkCallInfoStruct*, IpHeaderStruct* ipHeader); CStdString GetOrkUid(); @@ -265,8 +266,13 @@ public: EndpointInfoRef GetEndpointInfo(struct in_addr endpointIp); CStdString StartCapture(CStdString& party); void StartCaptureOrkuid(CStdString& orkuid); - void PauseCapture(CStdString& party); + CStdString StartCaptureNativeCallId(CStdString& nativecallid); + CStdString PauseCaptureNativeCallId(CStdString& nativecallid); + CStdString PauseCapture(CStdString& party); void PauseCaptureOrkuid(CStdString& orkuid); + CStdString StopCapture(CStdString& party); + void StopCaptureOrkuid(CStdString& orkuid); + CStdString StopCaptureNativeCallId(CStdString& nativecallid); void SaveLocalPartyMap(CStdString& oldparty, CStdString& newparty); CStdString GetLocalPartyMap(CStdString& oldlocalparty); |