From 4d8ef1b1511841e59fad78275f9f65cf2300d75e Mon Sep 17 00:00:00 2001 From: Danil Chapovalov Date: Mon, 11 Apr 2022 15:14:25 +0200 Subject: [PATCH] Delete deprecated functions in RtpPacketHistory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:13757 Change-Id: I9d63ab4927ef2a5b8a0771b19c306861035b94be Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258683 Auto-Submit: Danil Chapovalov Commit-Queue: Danil Chapovalov Reviewed-by: Åsa Persson Commit-Queue: Åsa Persson Cr-Commit-Position: refs/heads/main@{#36524} --- modules/rtp_rtcp/source/rtp_packet_history.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/rtp_rtcp/source/rtp_packet_history.h b/modules/rtp_rtcp/source/rtp_packet_history.h index 390fd98e08..7475a35be3 100644 --- a/modules/rtp_rtcp/source/rtp_packet_history.h +++ b/modules/rtp_rtcp/source/rtp_packet_history.h @@ -18,7 +18,6 @@ #include #include -#include "absl/base/attributes.h" #include "api/function_view.h" #include "api/units/time_delta.h" #include "api/units/timestamp.h" @@ -64,17 +63,8 @@ class RtpPacketHistory { // Set RTT, used to avoid premature retransmission and to prevent over-writing // a packet in the history before we are reasonably sure it has been received. - ABSL_DEPRECATED("Use SetRtt below that takes TimeDelta") - void SetRtt(int64_t rtt_ms) { SetRtt(TimeDelta::Millis(rtt_ms)); } - void SetRtt(TimeDelta rtt); - ABSL_DEPRECATED("Use PutRtpPacket below that take Timestamp") - void PutRtpPacket(std::unique_ptr packet, - int64_t send_time_ms) { - PutRtpPacket(std::move(packet), Timestamp::Millis(send_time_ms)); - } - void PutRtpPacket(std::unique_ptr packet, Timestamp send_time);