Stop using deprecated PacedSender method from RtpTransportControllerSend.
The deprecated method will instantiate the alr detector member
that is not actually used later on.
Bug: webrtc:10108
Change-Id: I78ac8f286758078b5a9351578bea44a862e499c4
Reviewed-on: https://webrtc-review.googlesource.com/c/115180
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26068}
diff --git a/call/rtp_transport_controller_send.cc b/call/rtp_transport_controller_send.cc
index a172c38..47477a9 100644
--- a/call/rtp_transport_controller_send.cc
+++ b/call/rtp_transport_controller_send.cc
@@ -140,7 +140,7 @@
initial_config_.constraints = ConvertConstraints(bitrate_config, clock_);
RTC_DCHECK(bitrate_config.start_bitrate_bps > 0);
- pacer_.SetEstimatedBitrate(bitrate_config.start_bitrate_bps);
+ pacer_.SetPacingRates(bitrate_config.start_bitrate_bps, 0);
process_thread_->RegisterModule(&pacer_, RTC_FROM_HERE);
process_thread_->Start();