Remove NetEq::InsertPacket deprecated method.

Bug: webrtc:10198
Change-Id: Ia789524c459982705a5d0fc92b216e0b5a084952
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173463
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31069}
This commit is contained in:
Mirko Bonadei 2020-04-12 17:42:31 +02:00 committed by Commit Bot
parent c4633fd861
commit f0684b5a8a

View File

@ -196,13 +196,6 @@ class NetEq {
virtual int InsertPacket(const RTPHeader& rtp_header,
rtc::ArrayView<const uint8_t> payload) = 0;
// Deprecated. Use the version without the `receive_timestamp` argument.
int InsertPacket(const RTPHeader& rtp_header,
rtc::ArrayView<const uint8_t> payload,
uint32_t /*receive_timestamp*/) {
return InsertPacket(rtp_header, payload);
}
// Lets NetEq know that a packet arrived with an empty payload. This typically
// happens when empty packets are used for probing the network channel, and
// these packets use RTP sequence numbers from the same series as the actual