Adds CoDel implementation to network simulation.
Adds an implementation of the CoDel active queue management algorithm
to the network simulation. It is loosely based on CoDel pseudocode
from ACMQueue: https://queue.acm.org/appendices/codel.html
Bug: webrtc:9510
Change-Id: Ice485be35a01dafa6169d697b51b5c1b33a49ba6
Reviewed-on: https://webrtc-review.googlesource.com/c/123581
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26834}
diff --git a/call/BUILD.gn b/call/BUILD.gn
index 97cf71a..210931c 100644
--- a/call/BUILD.gn
+++ b/call/BUILD.gn
@@ -286,6 +286,7 @@
"../api/units:data_rate",
"../api/units:data_size",
"../api/units:time_delta",
+ "../api/units:timestamp",
"../rtc_base:checks",
"../rtc_base:rtc_base_approved",
"../rtc_base:sequenced_task_checker",
@@ -498,13 +499,16 @@
sources = [
"fake_network_pipe_unittest.cc",
+ "simulated_network_unittest.cc",
]
deps = [
":fake_network",
":simulated_network",
+ "../api/units:data_rate",
"../system_wrappers",
"../test:test_support",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/algorithm:container",
"//third_party/abseil-cpp/absl/memory",
]
}