Delete deprecated functions in RtpPacketHistory

Bug: webrtc:13757
Change-Id: I9d63ab4927ef2a5b8a0771b19c306861035b94be
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258683
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36524}
This commit is contained in:
Danil Chapovalov
2022-04-11 15:14:25 +02:00
committed by WebRTC LUCI CQ
parent ed57873196
commit 4d8ef1b151

View File

@ -18,7 +18,6 @@
#include <utility>
#include <vector>
#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<RtpPacketToSend> packet,
int64_t send_time_ms) {
PutRtpPacket(std::move(packet), Timestamp::Millis(send_time_ms));
}
void PutRtpPacket(std::unique_ptr<RtpPacketToSend> packet,
Timestamp send_time);