mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 22:00:47 +01:00
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:
parent
67dba7bba8
commit
bbbb9021fa
2 changed files with 0 additions and 10 deletions
|
@ -104,14 +104,6 @@ PacingController::PacingController(Clock* clock,
|
||||||
|
|
||||||
PacingController::~PacingController() = default;
|
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(
|
void PacingController::CreateProbeClusters(
|
||||||
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs) {
|
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs) {
|
||||||
for (const ProbeClusterConfig probe_cluster_config : probe_cluster_configs) {
|
for (const ProbeClusterConfig probe_cluster_config : probe_cluster_configs) {
|
||||||
|
|
|
@ -95,8 +95,6 @@ class PacingController {
|
||||||
// it's time to send.
|
// it's time to send.
|
||||||
void EnqueuePacket(std::unique_ptr<RtpPacketToSend> packet);
|
void EnqueuePacket(std::unique_ptr<RtpPacketToSend> packet);
|
||||||
|
|
||||||
// ABSL_DEPRECATED("Use CreateProbeClusters instead")
|
|
||||||
void CreateProbeCluster(DataRate bitrate, int cluster_id);
|
|
||||||
void CreateProbeClusters(
|
void CreateProbeClusters(
|
||||||
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs);
|
rtc::ArrayView<const ProbeClusterConfig> probe_cluster_configs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue