RtpSource: remove deprecated ctor, use designated initializers

Bug: webrtc:10739, b/246753278
Change-Id: I215483709e1f415170bc42ea6d523ffad8eb1e76
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275561
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38085}
This commit is contained in:
Alessio Bazzica
2022-09-14 15:32:53 +02:00
committed by WebRTC LUCI CQ
parent ca27f1a1a0
commit 31996f48f4
2 changed files with 18 additions and 25 deletions

View File

@ -33,19 +33,6 @@ class RtpSource {
RtpSource() = delete;
// TODO(bugs.webrtc.org/10739): Remove this constructor once all clients
// migrate to the version with absolute capture time.
RtpSource(int64_t timestamp_ms,
uint32_t source_id,
RtpSourceType source_type,
absl::optional<uint8_t> audio_level,
uint32_t rtp_timestamp)
: RtpSource(timestamp_ms,
source_id,
source_type,
rtp_timestamp,
{audio_level, absl::nullopt}) {}
RtpSource(int64_t timestamp_ms,
uint32_t source_id,
RtpSourceType source_type,