From aeba6e87402aea3e6431f2b18c0e5f6f80f71783 Mon Sep 17 00:00:00 2001 From: "braveyao@webrtc.org" Date: Thu, 11 Jul 2013 08:06:37 +0000 Subject: [PATCH] ModuleRTPRTCP call rtcp_sender_.TMMBR() directly instead of calling its own API. BUG=2051 TEST=autotest R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1790005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4327 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc index 051776cf29..2a1c3d52e4 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc @@ -229,7 +229,7 @@ int32_t ModuleRtpRtcpImpl::Process() { "Timeout: No increase in RTCP RR extended highest sequence number."; } - if (remote_bitrate_ && TMMBR()) { + if (remote_bitrate_ && rtcp_sender_.TMMBR()) { unsigned int target_bitrate = 0; std::vector ssrcs; if (remote_bitrate_->LatestEstimate(&ssrcs, &target_bitrate)) {