Increasing size of nack list in buffered mode.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3666 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org 2013-03-13 20:52:49 +00:00
parent 361bac7a4f
commit 15960c2b67

View File

@ -795,8 +795,8 @@ int ViEChannel::SetReceiverBufferingMode(int target_delay_ms) {
int ViEChannel::GetRequiredNackListSize(int target_delay_ms) {
// The max size of the nack list should be large enough to accommodate the
// the number of packets (frames) resulting from the increased delay.
// Roughly estimating for ~20 packets per frame @ 30fps.
return target_delay_ms * 20 * 30 / 1000;
// Roughly estimating for ~40 packets per frame @ 30fps.
return target_delay_ms * 40 * 30 / 1000;
}
WebRtc_Word32 ViEChannel::SetKeyFrameRequestMethod(