Skip to content

Commit 090699a

Browse files
DanilChapovalovWebRTC LUCI CQ
authored andcommitted
Delete deprecated RtpSource timestamp_ms constructor and accessor
Bug: webrtc:13756 Change-Id: Ic43cf82451785b4fbe184fce466e77b16b2c781a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/319581 Reviewed-by: Björn Terelius <[email protected]> Commit-Queue: Danil Chapovalov <[email protected]> Cr-Commit-Position: refs/heads/main@{#40765}
1 parent 7cdf66f commit 090699a

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

api/transport/rtp/rtp_source.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,12 @@ class RtpSource {
5656
extensions_(extensions),
5757
rtp_timestamp_(rtp_timestamp) {}
5858

59-
// TODO(bugs.webrtc.org/13757): Remove after 2023-09-18
60-
[[deprecated]] RtpSource(int64_t timestamp_ms,
61-
uint32_t source_id,
62-
RtpSourceType source_type,
63-
uint32_t rtp_timestamp,
64-
const RtpSource::Extensions& extensions)
65-
: timestamp_(Timestamp::Millis(timestamp_ms)),
66-
source_id_(source_id),
67-
source_type_(source_type),
68-
extensions_(extensions),
69-
rtp_timestamp_(rtp_timestamp) {}
70-
7159
RtpSource(const RtpSource&) = default;
7260
RtpSource& operator=(const RtpSource&) = default;
7361
~RtpSource() = default;
7462

7563
Timestamp timestamp() const { return timestamp_; }
7664

77-
// TODO(bugs.webrtc.org/13757): Remove after 2023-09-18
78-
[[deprecated]] int64_t timestamp_ms() const { return timestamp_.ms(); }
79-
[[deprecated]] void update_timestamp_ms(int64_t timestamp_ms) {
80-
RTC_DCHECK_LE(timestamp_.ms(), timestamp_ms);
81-
timestamp_ = Timestamp::Millis(timestamp_ms);
82-
}
83-
8465
// The identifier of the source can be the CSRC or the SSRC.
8566
uint32_t source_id() const { return source_id_; }
8667

0 commit comments

Comments
 (0)