Slightly increased bandwidth adaptation at both receive- and send-side.
The send-side increase factor is increased to better follow the pace of the receive-side estimate, while the receive-side factor is increased to speed up adaptation. BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/297002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1030 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8738d277a1
commit
94a8c03141
@ -248,8 +248,8 @@ WebRtc_UWord32 BandwidthManagement::ShapeSimple(WebRtc_Word32 packetLoss,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// increase rate by 5%
|
// increase rate by 8%
|
||||||
newBitRate = static_cast<WebRtc_UWord32>(_bitRate * 1.05 + 0.5);
|
newBitRate = static_cast<WebRtc_UWord32>(_bitRate * 1.08 + 0.5);
|
||||||
|
|
||||||
// add 1 kbps extra, just to make sure that we do not get stuck
|
// add 1 kbps extra, just to make sure that we do not get stuck
|
||||||
// (gives a little extra increase at low rates, negligible at higher rates)
|
// (gives a little extra increase at low rates, negligible at higher rates)
|
||||||
|
@ -321,11 +321,11 @@ double RemoteRateControl::RateIncreaseFactor(WebRtc_Word64 nowMs, WebRtc_Word64
|
|||||||
const double c2 = 800.0;
|
const double c2 = 800.0;
|
||||||
const double d = 0.85;
|
const double d = 0.85;
|
||||||
|
|
||||||
double alpha = 1.001 + B / (1 + exp( b * (d * reactionTimeMs - (c1 * noiseVar + c2))));
|
double alpha = 1.005 + B / (1 + exp( b * (d * reactionTimeMs - (c1 * noiseVar + c2))));
|
||||||
|
|
||||||
if (alpha < 1.001)
|
if (alpha < 1.005)
|
||||||
{
|
{
|
||||||
alpha = 1.001;
|
alpha = 1.005;
|
||||||
}
|
}
|
||||||
else if (alpha > 1.3)
|
else if (alpha > 1.3)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user