Removing deprecated min_pacing_rate alias in StreamsConfig.

Bug: webrtc:9883
Change-Id: I8ca9f51b60b5fc24233f14404c13b411a5f2c253
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153343
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29206}
This commit is contained in:
Sebastian Jansson
2019-09-17 12:47:17 +02:00
committed by Commit Bot
parent 4a822f4b3c
commit e1b777717b
3 changed files with 4 additions and 7 deletions

View File

@ -37,7 +37,6 @@ rtc_static_library("network_control") {
deps = [
":webrtc_key_value_config",
"../../rtc_base:deprecation",
"../units:data_rate",
"../units:data_size",
"../units:time_delta",
@ -99,6 +98,7 @@ rtc_static_library("goog_cc") {
":webrtc_key_value_config",
"..:network_state_predictor_api",
"../../modules/congestion_controller/goog_cc",
"../../rtc_base:deprecation",
"//third_party/abseil-cpp/absl/memory",
]
}

View File

@ -14,6 +14,7 @@
#include "api/network_state_predictor.h"
#include "api/transport/network_control.h"
#include "rtc_base/deprecation.h"
namespace webrtc {
class RtcEventLog;

View File

@ -19,7 +19,6 @@
#include "api/units/data_size.h"
#include "api/units/time_delta.h"
#include "api/units/timestamp.h"
#include "rtc_base/deprecation.h"
namespace webrtc {
@ -35,11 +34,8 @@ struct StreamsConfig {
Timestamp at_time = Timestamp::PlusInfinity();
absl::optional<bool> requests_alr_probing;
absl::optional<double> pacing_factor;
union {
absl::optional<DataRate> min_total_allocated_bitrate = absl::nullopt;
// Use min_total_allocated_bitrate instead.
RTC_DEPRECATED absl::optional<DataRate> min_pacing_rate;
};
absl::optional<DataRate> min_total_allocated_bitrate;
absl::optional<DataRate> max_padding_rate;
absl::optional<DataRate> max_total_allocated_bitrate;
};