RTP bw estimate fix.

Review URL: http://webrtc-codereview.appspot.com/279004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@932 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org 2011-11-11 10:55:26 +00:00
parent 1144ba2268
commit fd3a0efd15

View File

@ -2827,6 +2827,11 @@ void ModuleRtpRtcpImpl::ProcessDefaultModuleBandwidth() {
it++;
}
} // end critsect
if (count == 0) {
// No sending modules and no bitrate estimate.
return;
}
_bandwidthManagement.SetSendBitrate(minBitrateBps, 0, 0);
// Update default module bitrate. Don't care about min max.
// Check if we should trigger OnNetworkChanged via video callback