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
This commit is contained in:
parent
190541578a
commit
37198007ea
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user