Video bandwidth not reported correctly

ViEChannel::GetBandwidthUsage fails to aggregate video_bitrate_sent in
the same way as the total, fec and nack.

BUG=2579
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/3199004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5062 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
sprang@webrtc.org 2013-10-31 09:49:03 +00:00
parent 773e72797f
commit da2c37b759

View File

@ -1332,6 +1332,7 @@ void ViEChannel::GetBandwidthUsage(uint32_t* total_bitrate_sent,
RtpRtcp* rtp_rtcp = *it;
rtp_rtcp->BitrateSent(&stream_rate, &video_rate, &fec_rate, &nackRate);
*total_bitrate_sent += stream_rate;
*video_bitrate_sent += video_rate;
*fec_bitrate_sent += fec_rate;
*nackBitrateSent += nackRate;
}