From 37198007eab6731fa0f77866155dd4f2b332a262 Mon Sep 17 00:00:00 2001 From: "henrika@webrtc.org" Date: Mon, 18 Jun 2012 11:00:12 +0000 Subject: [PATCH] GetRecPayloadType now logs a warning instead of and error when the user asks for the payload type while no packets have been received. BUG=605 TEST= Review URL: https://webrtc-codereview.appspot.com/660004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2411 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/voice_engine/main/source/channel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voice_engine/main/source/channel.cc b/src/voice_engine/main/source/channel.cc index 48b8acab77..07e406da6f 100644 --- a/src/voice_engine/main/source/channel.cc +++ b/src/voice_engine/main/source/channel.cc @@ -2417,7 +2417,7 @@ Channel::GetRecPayloadType(CodecInst& codec) if (_rtpRtcpModule->ReceivePayloadType(codec, &payloadType) != 0) { _engineStatisticsPtr->SetLastError( - VE_RTP_RTCP_MODULE_ERROR, kTraceError, + VE_RTP_RTCP_MODULE_ERROR, kTraceWarning, "GetRecPayloadType() failed to retrieve RX payload type"); return -1; }