Embed Deceleration Target Level Offset Field Trial.

Bug: webrtc:10619
Change-Id: I4ef75ae03d6071bf84d2c1b6e50290ea26e83496
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/152663
Commit-Queue: Ruslan Burakov <kuddai@google.com>
Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29169}
This commit is contained in:
Ruslan Burakov
2019-09-12 15:44:18 +02:00
committed by Commit Bot
parent ef85f2bdb8
commit aa5a75d5e3
3 changed files with 18 additions and 108 deletions

View File

@ -124,11 +124,6 @@ class DelayManager {
return effective_minimum_delay_ms_;
}
// This accessor is only intended for testing purposes.
absl::optional<int> deceleration_target_level_offset_ms() const {
return deceleration_target_level_offset_ms_;
}
// These accessors are only intended for testing purposes.
HistogramMode histogram_mode() const { return histogram_mode_; }
int histogram_quantile() const { return histogram_quantile_; }
@ -204,11 +199,6 @@ class DelayManager {
};
std::deque<PacketDelay> delay_history_;
// When current buffer level is more than
// |deceleration_target_level_offset_ms_| below the target level, NetEq will
// impose deceleration to increase the buffer level. The value is in Q8, and
// measured in milliseconds.
const absl::optional<int> deceleration_target_level_offset_ms_;
const absl::optional<int> extra_delay_ms_;
RTC_DISALLOW_COPY_AND_ASSIGN(DelayManager);