Add cap to video jitter buffer size/latency in experiment branches only.

Bug: webrtc:10664
Change-Id: I03762c8b318f26f2689e89545aa8cc8e5b4a4329
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138081
Commit-Queue: Michael Horowitz <mhoro@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28155}
This commit is contained in:
“Michael
2019-06-04 10:04:12 -05:00
committed by Commit Bot
parent 479a3c0f92
commit e0f370471a
5 changed files with 55 additions and 12 deletions

View File

@ -582,7 +582,7 @@ void VCMJitterBuffer::FindAndInsertContinuousFramesWithState(
uint32_t VCMJitterBuffer::EstimatedJitterMs() {
rtc::CritScope cs(&crit_sect_);
const double rtt_mult = 1.0f;
return jitter_estimate_.GetJitterEstimate(rtt_mult);
return jitter_estimate_.GetJitterEstimate(rtt_mult, absl::nullopt);
}
void VCMJitterBuffer::SetNackSettings(size_t max_nack_list_size,