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:
parent
361bac7a4f
commit
15960c2b67
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user