summaryrefslogtreecommitdiff
path: root/orkaudio
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-12-05 20:14:48 +0000
committerHenri Herscher <henri@oreka.org>2005-12-05 20:14:48 +0000
commitfad239ebdc2d6b841a74e7de984cf9065d29c82b (patch)
treef96f560c7c4fc88607337055563e6154d960c938 /orkaudio
parent21937affa1443816e63856a20d5b0783ff6c1922 (diff)
Added logging for unsupported codecs
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@91 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio')
-rw-r--r--orkaudio/audiocaptureplugins/voip/VoIp.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp
index 89298c5..f8773ab 100644
--- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp
+++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp
@@ -171,6 +171,16 @@ bool TryRtp(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader, UdpH
RtpSessionsSingleton::instance()->ReportRtpPacket(rtpInfo);
}
+ else
+ {
+ // unsupported CODEC
+ if(s_rtpPacketLog->isDebugEnabled())
+ {
+ CStdString debug;
+ debug.Format("Unsupported codec:%x", rtpHeader->pt);
+ LOG4CXX_DEBUG(s_rtpPacketLog, debug);
+ }
+ }
}
}
return result;