summaryrefslogtreecommitdiff
path: root/video_engine/vie_rtp_rtcp_impl.cc
diff options
context:
space:
mode:
authormflodman@webrtc.org <mflodman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-06 17:46:39 +0000
committermflodman@webrtc.org <mflodman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-06 17:46:39 +0000
commitcd1ac8b77e14f5f84a0d99f732b0aff7297baa4c (patch)
tree8f7dd41f2588eb5e582ed6ef84c8471003ae4e69 /video_engine/vie_rtp_rtcp_impl.cc
parent89b36e984e3bd1cf3c5dba0e76232dbe191b89af (diff)
downloadwebrtc-cd1ac8b77e14f5f84a0d99f732b0aff7297baa4c.tar.gz
Don't report an error for GetEstimatedReceiveBandwidth if there is no valid
estimate. BUG=1377 Review URL: https://webrtc-codereview.appspot.com/1095005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3479 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/vie_rtp_rtcp_impl.cc')
-rw-r--r--video_engine/vie_rtp_rtcp_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/video_engine/vie_rtp_rtcp_impl.cc b/video_engine/vie_rtp_rtcp_impl.cc
index 7bd6f6d2..f04e0e75 100644
--- a/video_engine/vie_rtp_rtcp_impl.cc
+++ b/video_engine/vie_rtp_rtcp_impl.cc
@@ -860,8 +860,9 @@ int ViERTP_RTCPImpl::GetEstimatedReceiveBandwidth(
shared_data_->SetLastError(kViERtpRtcpInvalidChannelId);
return -1;
}
- return vie_channel->GetEstimatedReceiveBandwidth(
+ vie_channel->GetEstimatedReceiveBandwidth(
static_cast<WebRtc_UWord32*>(estimated_bandwidth));
+ return 0;
}
int ViERTP_RTCPImpl::SetOverUseDetectorOptions(