diff --git a/modules/rtp_rtcp/include/receive_statistics.h b/modules/rtp_rtcp/include/receive_statistics.h index 669a087066..959e3cd99e 100644 --- a/modules/rtp_rtcp/include/receive_statistics.h +++ b/modules/rtp_rtcp/include/receive_statistics.h @@ -22,7 +22,6 @@ #include "modules/rtp_rtcp/include/rtcp_statistics.h" #include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "modules/rtp_rtcp/source/rtcp_packet/report_block.h" -#include "rtc_base/deprecation.h" namespace webrtc { @@ -59,17 +58,6 @@ class ReceiveStatistics : public ReceiveStatisticsProvider, static std::unique_ptr Create(Clock* clock); - RTC_DEPRECATED - static std::unique_ptr Create( - Clock* clock, - StreamDataCountersCallback* rtp_callback); - - RTC_DEPRECATED - static std::unique_ptr Create( - Clock* clock, - RtcpStatisticsCallback* rtcp_callback, - StreamDataCountersCallback* rtp_callback); - // Increment counter for number of FEC packets received. virtual void FecPacketReceived(const RtpPacketReceived& packet) = 0; diff --git a/modules/rtp_rtcp/source/receive_statistics_impl.cc b/modules/rtp_rtcp/source/receive_statistics_impl.cc index e61719728e..ab896cb273 100644 --- a/modules/rtp_rtcp/source/receive_statistics_impl.cc +++ b/modules/rtp_rtcp/source/receive_statistics_impl.cc @@ -325,22 +325,6 @@ std::unique_ptr ReceiveStatistics::Create(Clock* clock) { return absl::make_unique(clock); } -std::unique_ptr ReceiveStatistics::Create( - Clock* clock, - StreamDataCountersCallback* rtp_callback) { - RTC_CHECK(rtp_callback == nullptr); - return Create(clock); -} - -std::unique_ptr ReceiveStatistics::Create( - Clock* clock, - RtcpStatisticsCallback* rtcp_callback, - StreamDataCountersCallback* rtp_callback) { - RTC_CHECK(rtcp_callback == nullptr); - RTC_CHECK(rtp_callback == nullptr); - return Create(clock); -} - ReceiveStatisticsImpl::ReceiveStatisticsImpl(Clock* clock) : clock_(clock), last_returned_ssrc_(0),