2016-02-23 13:30:42 +01:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2016-02-23 13:30:42 +01:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("congestion_controller") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-02-23 13:30:42 +01:00
|
|
|
sources = [
|
2017-03-21 06:41:12 -07:00
|
|
|
"include/receive_side_congestion_controller.h",
|
|
|
|
|
"receive_side_congestion_controller.cc",
|
2021-04-21 11:56:32 +02:00
|
|
|
"remb_throttler.cc",
|
|
|
|
|
"remb_throttler.h",
|
2016-02-23 13:30:42 +01:00
|
|
|
]
|
|
|
|
|
|
2017-12-19 09:33:40 +01:00
|
|
|
deps = [
|
2023-01-30 12:26:17 +01:00
|
|
|
"../../api:rtp_parameters",
|
2024-05-30 11:13:45 +00:00
|
|
|
"../../api:sequence_checker",
|
2024-05-06 19:51:23 +02:00
|
|
|
"../../api/environment",
|
2019-09-10 19:28:06 +02:00
|
|
|
"../../api/transport:network_control",
|
2021-04-21 11:56:32 +02:00
|
|
|
"../../api/units:data_rate",
|
2024-05-30 11:13:45 +00:00
|
|
|
"../../api/units:data_size",
|
2021-04-21 11:56:32 +02:00
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-07-01 16:28:55 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2020-07-07 22:03:26 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2017-12-19 09:33:40 +01:00
|
|
|
"../pacing",
|
|
|
|
|
"../remote_bitrate_estimator",
|
2024-05-30 11:13:45 +00:00
|
|
|
"../remote_bitrate_estimator:congestion_control_feedback_generator",
|
2024-05-29 12:37:40 +00:00
|
|
|
"../remote_bitrate_estimator:transport_sequence_number_feedback_generator",
|
2017-12-20 13:13:32 +00:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/base:nullability",
|
2017-12-19 09:33:40 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (rtc_include_tests && !build_with_chromium) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("congestion_controller_unittests") {
|
2017-01-19 08:27:11 -08:00
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2021-04-21 11:56:32 +02:00
|
|
|
sources = [
|
|
|
|
|
"receive_side_congestion_controller_unittest.cc",
|
|
|
|
|
"remb_throttler_unittest.cc",
|
|
|
|
|
]
|
2017-01-19 08:27:11 -08:00
|
|
|
deps = [
|
|
|
|
|
":congestion_controller",
|
2024-05-30 11:13:45 +00:00
|
|
|
"../../api:rtp_parameters",
|
2024-05-06 19:51:23 +02:00
|
|
|
"../../api/environment:environment_factory",
|
2021-01-14 09:50:32 +00:00
|
|
|
"../../api/test/network_emulation",
|
|
|
|
|
"../../api/test/network_emulation:create_cross_traffic",
|
2021-04-21 11:56:32 +02:00
|
|
|
"../../api/units:data_rate",
|
2023-03-09 11:02:51 +01:00
|
|
|
"../../api/units:data_size",
|
2021-04-21 11:56:32 +02:00
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2024-05-30 11:13:45 +00:00
|
|
|
"../../test:explicit_key_value_config",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:test_support",
|
2019-06-07 15:24:57 +02:00
|
|
|
"../../test/scenario",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../pacing",
|
2023-03-09 11:02:51 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-05-24 14:17:06 +02:00
|
|
|
"goog_cc:estimators",
|
2018-02-28 16:48:00 +01:00
|
|
|
"goog_cc:goog_cc_unittests",
|
2018-08-21 16:11:50 +02:00
|
|
|
"pcc:pcc_unittests",
|
2018-02-28 13:07:28 +01:00
|
|
|
"rtp:congestion_controller_unittests",
|
2017-01-19 08:27:11 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|