From 0f557fe1bab5a2cd05547d78137c9b3610f7fa68 Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Mon, 17 Jun 2019 10:14:16 +0200 Subject: [PATCH] Removes unused dependency on RTP/RTCP from loss based controller. This is part of a series of CLs removing RTP dependencies from GoogCC implementation. Bug: webrtc:10749 Change-Id: I73e9402136cc16902d177234d63369938f191e5b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/142223 Reviewed-by: Jonas Olsson Commit-Queue: Sebastian Jansson Cr-Commit-Position: refs/heads/master@{#28302} --- modules/bitrate_controller/BUILD.gn | 2 -- modules/bitrate_controller/loss_based_bandwidth_estimation.h | 2 +- modules/bitrate_controller/send_side_bandwidth_estimation.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/bitrate_controller/BUILD.gn b/modules/bitrate_controller/BUILD.gn index f5af0d148d..8941e29804 100644 --- a/modules/bitrate_controller/BUILD.gn +++ b/modules/bitrate_controller/BUILD.gn @@ -36,8 +36,6 @@ rtc_static_library("bitrate_controller") { "../../system_wrappers:field_trial", "../../system_wrappers:metrics", "../remote_bitrate_estimator", - "../rtp_rtcp", - "../rtp_rtcp:rtp_rtcp_format", "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/modules/bitrate_controller/loss_based_bandwidth_estimation.h b/modules/bitrate_controller/loss_based_bandwidth_estimation.h index 6bde6391ff..e00726b1ff 100644 --- a/modules/bitrate_controller/loss_based_bandwidth_estimation.h +++ b/modules/bitrate_controller/loss_based_bandwidth_estimation.h @@ -13,10 +13,10 @@ #include +#include "api/transport/network_types.h" #include "api/units/data_rate.h" #include "api/units/time_delta.h" #include "api/units/timestamp.h" -#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "rtc_base/experiments/field_trial_parser.h" namespace webrtc { diff --git a/modules/bitrate_controller/send_side_bandwidth_estimation.h b/modules/bitrate_controller/send_side_bandwidth_estimation.h index 1b03e4efc9..6f120b3d97 100644 --- a/modules/bitrate_controller/send_side_bandwidth_estimation.h +++ b/modules/bitrate_controller/send_side_bandwidth_estimation.h @@ -24,7 +24,6 @@ #include "api/units/time_delta.h" #include "api/units/timestamp.h" #include "modules/bitrate_controller/loss_based_bandwidth_estimation.h" -#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "rtc_base/experiments/field_trial_parser.h" namespace webrtc {