Remove deprecated RtpPacketInfo::RtpPacketInfo.
Bug: webrtc:10739 Change-Id: Iceda881ffa0645d8e1519c2b1a62c840ffa6a93f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173468 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31060}
This commit is contained in:
parent
9621377730
commit
cc34441554
@ -88,7 +88,6 @@ rtc_library("rtp_packet_info") {
|
||||
":rtp_headers",
|
||||
":scoped_refptr",
|
||||
"..:webrtc_common",
|
||||
"../rtc_base:deprecation",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
|
||||
@ -32,18 +32,6 @@ RtpPacketInfo::RtpPacketInfo(
|
||||
absolute_capture_time_(absolute_capture_time),
|
||||
receive_time_ms_(receive_time_ms) {}
|
||||
|
||||
RtpPacketInfo::RtpPacketInfo(uint32_t ssrc,
|
||||
std::vector<uint32_t> csrcs,
|
||||
uint32_t rtp_timestamp,
|
||||
absl::optional<uint8_t> audio_level,
|
||||
int64_t receive_time_ms)
|
||||
: RtpPacketInfo(ssrc,
|
||||
std::move(csrcs),
|
||||
rtp_timestamp,
|
||||
audio_level,
|
||||
/*absolute_capture_time=*/absl::nullopt,
|
||||
receive_time_ms) {}
|
||||
|
||||
RtpPacketInfo::RtpPacketInfo(const RTPHeader& rtp_header,
|
||||
int64_t receive_time_ms)
|
||||
: ssrc_(rtp_header.ssrc),
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/rtp_headers.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -38,14 +37,6 @@ class RTC_EXPORT RtpPacketInfo {
|
||||
absl::optional<AbsoluteCaptureTime> absolute_capture_time,
|
||||
int64_t receive_time_ms);
|
||||
|
||||
// TODO(bugs.webrtc.org/10739): Will be removed sometime after 2019-09-19.
|
||||
RTC_DEPRECATED
|
||||
RtpPacketInfo(uint32_t ssrc,
|
||||
std::vector<uint32_t> csrcs,
|
||||
uint32_t rtp_timestamp,
|
||||
absl::optional<uint8_t> audio_level,
|
||||
int64_t receive_time_ms);
|
||||
|
||||
RtpPacketInfo(const RTPHeader& rtp_header, int64_t receive_time_ms);
|
||||
|
||||
RtpPacketInfo(const RtpPacketInfo& other) = default;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user