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 <danilchap@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40405}
This commit is contained in:
Alfred E. Heggestad 2023-07-06 13:08:14 +02:00 committed by WebRTC LUCI CQ
parent 3f10b4917e
commit e9ae738c7c

View File

@ -282,7 +282,7 @@ void RTCPSender::SetRemb(int64_t bitrate_bps, std::vector<uint32_t> 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<int32_t> 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;
}