Don't report error when failing to send RTCP BYE.
Review URL: http://webrtc-codereview.appspot.com/337002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1293 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ee2924cc56
commit
1ce66e4dfb
@ -1196,7 +1196,10 @@ WebRtc_Word32 ModuleRtpRtcpImpl::SetSendingStatus(const bool sending)
|
||||
if(_rtcpSender.Sending() != sending)
|
||||
{
|
||||
// sends RTCP BYE when going from true to false
|
||||
WebRtc_Word32 retVal = _rtcpSender.SetSendingStatus(sending);
|
||||
if (_rtcpSender.SetSendingStatus(sending) != 0) {
|
||||
WEBRTC_TRACE(kTraceWarning, kTraceRtpRtcp, _id,
|
||||
"Failed to send RTCP BYE");
|
||||
}
|
||||
|
||||
_collisionDetected = false;
|
||||
|
||||
@ -1208,7 +1211,7 @@ WebRtc_Word32 ModuleRtpRtcpImpl::SetSendingStatus(const bool sending)
|
||||
WebRtc_UWord32 SSRC = _rtpSender.SSRC();
|
||||
_rtcpReceiver.SetSSRC(SSRC);
|
||||
_rtcpSender.SetSSRC(SSRC);
|
||||
return retVal;
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user