Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc |
index 45c4b6357f87ab835a7bbdb7cb0b45437290d0f7..97516f14688f37c443e0f0fe8e32416ffe8805c6 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc |
@@ -81,7 +81,7 @@ void Dlrr::Create(uint8_t* buffer) const { |
RTC_DCHECK_EQ(buffer + BlockLength(), write_at); |
} |
-bool Dlrr::WithDlrrItem(const ReceiveTimeInfo& block) { |
+bool Dlrr::AddDlrrItem(const ReceiveTimeInfo& block) { |
if (sub_blocks_.size() >= kMaxNumberOfDlrrItems) { |
LOG(LS_WARNING) << "Max DLRR items reached."; |
return false; |
@@ -90,14 +90,14 @@ bool Dlrr::WithDlrrItem(const ReceiveTimeInfo& block) { |
return true; |
} |
-bool Dlrr::WithDlrrItem(uint32_t ssrc, |
- uint32_t last_rr, |
- uint32_t delay_last_rr) { |
+bool Dlrr::AddDlrrItem(uint32_t ssrc, |
+ uint32_t last_rr, |
+ uint32_t delay_last_rr) { |
ReceiveTimeInfo block; |
block.ssrc = ssrc; |
block.last_rr = last_rr; |
block.delay_since_last_rr = delay_last_rr; |
- return WithDlrrItem(block); |
+ return AddDlrrItem(block); |
} |
} // namespace rtcp |
} // namespace webrtc |