Remove deprecated constructors of RtpSource
Bug: webrtc:10650
Change-Id: I1dee27252068ad33e62978ee3a3b3f60b266a2c7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149220
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28883}
diff --git a/api/rtp_receiver_interface.cc b/api/rtp_receiver_interface.cc
index efa7f1b..adc832b 100644
--- a/api/rtp_receiver_interface.cc
+++ b/api/rtp_receiver_interface.cc
@@ -23,24 +23,6 @@
audio_level_(audio_level),
rtp_timestamp_(rtp_timestamp) {}
-RtpSource::RtpSource(int64_t timestamp_ms,
- uint32_t source_id,
- RtpSourceType source_type)
- : timestamp_ms_(timestamp_ms),
- source_id_(source_id),
- source_type_(source_type),
- rtp_timestamp_(0) {}
-
-RtpSource::RtpSource(int64_t timestamp_ms,
- uint32_t source_id,
- RtpSourceType source_type,
- uint8_t audio_level)
- : timestamp_ms_(timestamp_ms),
- source_id_(source_id),
- source_type_(source_type),
- audio_level_(audio_level),
- rtp_timestamp_(0) {}
-
RtpSource::RtpSource(const RtpSource&) = default;
RtpSource& RtpSource::operator=(const RtpSource&) = default;
RtpSource::~RtpSource() = default;
diff --git a/api/rtp_receiver_interface.h b/api/rtp_receiver_interface.h
index f79bf8f..a6ee546 100644
--- a/api/rtp_receiver_interface.h
+++ b/api/rtp_receiver_interface.h
@@ -44,16 +44,6 @@
absl::optional<uint8_t> audio_level,
uint32_t rtp_timestamp);
- // DEPRECATED: Will be removed after 2019-07-31.
- RTC_DEPRECATED RtpSource(int64_t timestamp_ms,
- uint32_t source_id,
- RtpSourceType source_type);
- // DEPRECATED: Will be removed after 2019-07-31.
- RTC_DEPRECATED RtpSource(int64_t timestamp_ms,
- uint32_t source_id,
- RtpSourceType source_type,
- uint8_t audio_level);
-
RtpSource(const RtpSource&);
RtpSource& operator=(const RtpSource&);
~RtpSource();