Remove deprecated void CreateProbeCluster(DataRate bitrate, int cluster_id)

Bug: webrtc:14027
Change-Id: I32df58767b9a48e03fedefa34f3652fc16bdea10
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/287060
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38925}
This commit is contained in:
Per Kjellander 2022-12-08 09:32:45 +01:00 committed by WebRTC LUCI CQ
parent 67dba7bba8
commit bbbb9021fa
2 changed files with 0 additions and 10 deletions

View file

@ -104,14 +104,6 @@ PacingController::PacingController(Clock* clock,
PacingController::~PacingController() = default;
void PacingController::CreateProbeCluster(DataRate bitrate, int cluster_id) {
prober_.CreateProbeCluster({.at_time = CurrentTime(),
.target_data_rate = bitrate,
.target_duration = TimeDelta::Millis(15),
.target_probe_count = 5,
.id = cluster_id});
}
void PacingController::CreateProbeClusters(
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs) {
for (const ProbeClusterConfig probe_cluster_config : probe_cluster_configs) {

View file

@ -95,8 +95,6 @@ class PacingController {
// it's time to send.
void EnqueuePacket(std::unique_ptr<RtpPacketToSend> packet);
// ABSL_DEPRECATED("Use CreateProbeClusters instead")
void CreateProbeCluster(DataRate bitrate, int cluster_id);
void CreateProbeClusters(
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs);