Add trace for the situation when the min bitrate > available bandwidth.
BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/312001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1123 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
693240f2d9
commit
cc7b649474
@ -291,6 +291,12 @@ WebRtc_UWord32 BandwidthManagement::ShapeSimple(WebRtc_Word32 packetLoss,
|
||||
}
|
||||
if (newBitRate < _minBitRateConfigured)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceWarning,
|
||||
kTraceRtpRtcp,
|
||||
_id,
|
||||
"The configured min bitrate (%u kbps) is greater than the "
|
||||
"estimated available bandwidth (%u kbps).\n",
|
||||
_minBitRateConfigured / 1000, newBitRate / 1000);
|
||||
newBitRate = _minBitRateConfigured;
|
||||
}
|
||||
return newBitRate;
|
||||
|
Loading…
Reference in New Issue
Block a user