diff --git a/audio/audio_send_stream.cc b/audio/audio_send_stream.cc index a44b55f95f..36010d80c3 100644 --- a/audio/audio_send_stream.cc +++ b/audio/audio_send_stream.cc @@ -114,7 +114,6 @@ AudioSendStream::AudioSendStream( rtp_transport, bitrate_allocator, event_log, - rtcp_rtt_stats, suspended_rtp_state, voe::CreateChannelSend(clock, task_queue_factory, @@ -138,7 +137,6 @@ AudioSendStream::AudioSendStream( RtpTransportControllerSendInterface* rtp_transport, BitrateAllocatorInterface* bitrate_allocator, RtcEventLog* event_log, - RtcpRttStats* rtcp_rtt_stats, const absl::optional& suspended_rtp_state, std::unique_ptr channel_send) : clock_(clock), diff --git a/audio/audio_send_stream.h b/audio/audio_send_stream.h index 1dbb134921..909d4e9fcc 100644 --- a/audio/audio_send_stream.h +++ b/audio/audio_send_stream.h @@ -73,7 +73,6 @@ class AudioSendStream final : public webrtc::AudioSendStream, RtpTransportControllerSendInterface* rtp_transport, BitrateAllocatorInterface* bitrate_allocator, RtcEventLog* event_log, - RtcpRttStats* rtcp_rtt_stats, const absl::optional& suspended_rtp_state, std::unique_ptr channel_send); ~AudioSendStream() override; diff --git a/audio/audio_send_stream_unittest.cc b/audio/audio_send_stream_unittest.cc index 8f33d29f70..ea753f7d0b 100644 --- a/audio/audio_send_stream_unittest.cc +++ b/audio/audio_send_stream_unittest.cc @@ -29,7 +29,6 @@ #include "modules/audio_processing/include/audio_processing_statistics.h" #include "modules/audio_processing/include/mock_audio_processing.h" #include "modules/rtp_rtcp/mocks/mock_rtcp_bandwidth_observer.h" -#include "modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h" #include "modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "rtc_base/task_queue_for_test.h" #include "system_wrappers/include/clock.h" @@ -192,7 +191,7 @@ struct ConfigHelper { new internal::AudioSendStream( Clock::GetRealTimeClock(), stream_config_, audio_state_, task_queue_factory_.get(), &rtp_transport_, &bitrate_allocator_, - &event_log_, &rtcp_rtt_stats_, absl::nullopt, + &event_log_, absl::nullopt, std::unique_ptr(channel_send_))); } @@ -331,7 +330,6 @@ struct ConfigHelper { ::testing::NiceMock event_log_; ::testing::NiceMock rtp_transport_; ::testing::NiceMock rtp_rtcp_; - MockRtcpRttStats rtcp_rtt_stats_; ::testing::NiceMock limit_observer_; BitrateAllocator bitrate_allocator_; // |worker_queue| is defined last to ensure all pending tasks are cancelled