Use backticks not vertical bars to denote variables in comments for /modules/rtp_rtcp
Bug: webrtc:12338 Change-Id: I52eb3b6675c4705e22f51b70799ed6139a3b46bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227164 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34686}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
7f9ab1aa1b
commit
913cfa76ec
@ -128,9 +128,9 @@ void ModuleRtpRtcpImpl::Process() {
|
||||
bool process_rtt = now >= last_rtt_process_time_ + kRtpRtcpRttProcessTimeMs;
|
||||
if (rtcp_sender_.Sending()) {
|
||||
// Process RTT if we have received a report block and we haven't
|
||||
// processed RTT for at least |kRtpRtcpRttProcessTimeMs| milliseconds.
|
||||
// processed RTT for at least `kRtpRtcpRttProcessTimeMs` milliseconds.
|
||||
// Note that LastReceivedReportBlockMs() grabs a lock, so check
|
||||
// |process_rtt| first.
|
||||
// `process_rtt` first.
|
||||
if (process_rtt && rtt_stats_ != nullptr &&
|
||||
rtcp_receiver_.LastReceivedReportBlockMs() > last_rtt_process_time_) {
|
||||
int64_t max_rtt_ms = 0;
|
||||
@ -530,7 +530,7 @@ int64_t ModuleRtpRtcpImpl::ExpectedRetransmissionTimeMs() const {
|
||||
if (expected_retransmission_time_ms > 0) {
|
||||
return expected_retransmission_time_ms;
|
||||
}
|
||||
// No rtt available (|kRtpRtcpRttProcessTimeMs| not yet passed?), so try to
|
||||
// No rtt available (`kRtpRtcpRttProcessTimeMs` not yet passed?), so try to
|
||||
// poll avg_rtt_ms directly from rtcp receiver.
|
||||
if (rtcp_receiver_.RTT(rtcp_receiver_.RemoteSSRC(), nullptr,
|
||||
&expected_retransmission_time_ms, nullptr,
|
||||
@ -666,7 +666,7 @@ bool ModuleRtpRtcpImpl::TimeToSendFullNackList(int64_t now) const {
|
||||
wait_time = kStartUpRttMs;
|
||||
}
|
||||
|
||||
// Send a full NACK list once within every |wait_time|.
|
||||
// Send a full NACK list once within every `wait_time`.
|
||||
return now - nack_last_time_sent_full_ms_ > wait_time;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user