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}
This commit is contained in:

committed by
Commit Bot

parent
0e1a558fb3
commit
015c3cbf51
@ -23,24 +23,6 @@ RtpSource::RtpSource(int64_t timestamp_ms,
|
||||
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;
|
||||
|
@ -44,16 +44,6 @@ class RtpSource {
|
||||
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();
|
||||
|
Reference in New Issue
Block a user