From 015c3cbf514399bb21c817d1b61d117539d17998 Mon Sep 17 00:00:00 2001 From: Johannes Kron Date: Thu, 15 Aug 2019 14:40:50 +0200 Subject: [PATCH] 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 Commit-Queue: Johannes Kron Cr-Commit-Position: refs/heads/master@{#28883} --- api/rtp_receiver_interface.cc | 18 ------------------ api/rtp_receiver_interface.h | 10 ---------- 2 files changed, 28 deletions(-) diff --git a/api/rtp_receiver_interface.cc b/api/rtp_receiver_interface.cc index efa7f1b8c1..adc832ba38 100644 --- a/api/rtp_receiver_interface.cc +++ b/api/rtp_receiver_interface.cc @@ -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; diff --git a/api/rtp_receiver_interface.h b/api/rtp_receiver_interface.h index f79bf8f50a..a6ee546d9e 100644 --- a/api/rtp_receiver_interface.h +++ b/api/rtp_receiver_interface.h @@ -44,16 +44,6 @@ class RtpSource { absl::optional 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();