diff options
author | Henri Herscher <henri@oreka.org> | 2008-10-14 20:15:28 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2008-10-14 20:15:28 +0000 |
commit | 6d5d6c2811fbe5dee96cedcae0b7fb5859860244 (patch) | |
tree | 6d442fd04066afce0fa99ba4eddf54711a7b287a | |
parent | c09609077b6f5eb70db855eed4e909d9d563ffcc (diff) |
Fixed RTCP detection and I3 Interactive Intelligence mode (InInMode) compilation under Windows.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@563 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 8 | ||||
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIp.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index 127168d..6340ada 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -98,9 +98,9 @@ void RtpSession::ReportRtcpSrcDescription(RtcpSrcDescriptionPacketInfoRef& rtcpI char realm[256], *d = NULL; memset(realm, 0, sizeof(realm)); - snprintf(realm, sizeof(realm), "%s", (PCSTR)rtcpInfo->m_cnameDomain); + ACE_OS::snprintf(realm, sizeof(realm), "%s", (PCSTR)rtcpInfo->m_cnameDomain); - if((d = ACE_OS::strchr(realm, '.'))) + if((d = strchr(realm, '.'))) { *d = '\0'; } @@ -134,9 +134,9 @@ void RtpSession::ReportRtcpSrcDescription(RtcpSrcDescriptionPacketInfoRef& rtcpI char realm[256], *d = NULL; memset(realm, 0, sizeof(realm)); - snprintf(realm, sizeof(realm), "%s", (PCSTR)rtcpInfo->m_cnameDomain); + ACE_OS::snprintf(realm, sizeof(realm), "%s", (PCSTR)rtcpInfo->m_cnameDomain); - if((d = ACE_OS::strchr(realm, '.'))) + if((d = strchr(realm, '.'))) { *d = '\0'; } diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp index 409e923..37a2f84 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp +++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp @@ -1203,7 +1203,7 @@ bool TryRtcp(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader, Udp memcpy(cname, csrcItem->data, ((csrcItem->length > 254) ? 254 : csrcItem->length)); - if(csrcItem->length == 0 || strncasecmp(cname, "ext", ((3 > csrcItem->length) ? csrcItem->length : 3))) + if(csrcItem->length == 0 || ACE_OS::strncasecmp(cname, "ext", ((3 > csrcItem->length) ? csrcItem->length : 3))) { if(DLLCONFIG.m_inInMode == false) { |