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
This commit is contained in:
braveyao@webrtc.org 2013-07-11 08:06:37 +00:00
parent 96edd56170
commit aeba6e8740

View File

@ -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<unsigned int> ssrcs;
if (remote_bitrate_->LatestEstimate(&ssrcs, &target_bitrate)) {