From e9ae738c7c87b9829215bcf7fa0f7c7bd28232d1 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Thu, 6 Jul 2023 13:08:14 +0200 Subject: [PATCH] rtcp_sender: uppercase protocol names (RTCP) in log messages Bug: None Change-Id: Ie6683897fca469a15c1aa054eeb1b2d378b22bcc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/311461 Reviewed-by: Danil Chapovalov Commit-Queue: Danil Chapovalov Cr-Commit-Position: refs/heads/main@{#40405} --- modules/rtp_rtcp/source/rtcp_sender.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rtp_rtcp/source/rtcp_sender.cc b/modules/rtp_rtcp/source/rtcp_sender.cc index 75f403d6fa..9e462882f6 100644 --- a/modules/rtp_rtcp/source/rtcp_sender.cc +++ b/modules/rtp_rtcp/source/rtcp_sender.cc @@ -282,7 +282,7 @@ void RTCPSender::SetRemb(int64_t bitrate_bps, std::vector ssrcs) { RTC_CHECK_GE(bitrate_bps, 0); MutexLock lock(&mutex_rtcp_sender_); if (method_ == RtcpMode::kOff) { - RTC_LOG(LS_WARNING) << "Can't send rtcp if it is disabled."; + RTC_LOG(LS_WARNING) << "Can't send RTCP if it is disabled."; return; } remb_bitrate_ = bitrate_bps; @@ -688,7 +688,7 @@ absl::optional RTCPSender::ComputeCompoundRTCPPacket( const uint16_t* nack_list, PacketSender& sender) { if (method_ == RtcpMode::kOff) { - RTC_LOG(LS_WARNING) << "Can't send rtcp if it is disabled."; + RTC_LOG(LS_WARNING) << "Can't send RTCP if it is disabled."; return -1; } // Add the flag as volatile. Non volatile entries will not be overwritten. @@ -877,7 +877,7 @@ void RTCPSender::SetVideoBitrateAllocation( const VideoBitrateAllocation& bitrate) { MutexLock lock(&mutex_rtcp_sender_); if (method_ == RtcpMode::kOff) { - RTC_LOG(LS_WARNING) << "Can't send rtcp if it is disabled."; + RTC_LOG(LS_WARNING) << "Can't send RTCP if it is disabled."; return; } // Check if this allocation is first ever, or has a different set of @@ -929,7 +929,7 @@ void RTCPSender::SendCombinedRtcpPacket( { MutexLock lock(&mutex_rtcp_sender_); if (method_ == RtcpMode::kOff) { - RTC_LOG(LS_WARNING) << "Can't send rtcp if it is disabled."; + RTC_LOG(LS_WARNING) << "Can't send RTCP if it is disabled."; return; }