From 658024ee92b27cad66af90b366842ae8cc6cd624 Mon Sep 17 00:00:00 2001 From: brandtr Date: Tue, 10 Jan 2017 06:49:58 -0800 Subject: [PATCH] Reduce FlexFEC logging severity in two places. BUG=webrtc:5654 Review-Url: https://codereview.webrtc.org/2621833004 Cr-Commit-Position: refs/heads/master@{#15992} --- webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc | 4 ++-- webrtc/modules/rtp_rtcp/source/flexfec_sender.cc | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc b/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc index 204ce84d2a..80f5b1f3b6 100644 --- a/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc +++ b/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc @@ -142,8 +142,8 @@ bool FlexfecReceiver::ProcessReceivedPackets() { if (now_ms - last_recovered_packet_ms_ > kPacketLogIntervalMs) { uint32_t media_ssrc = ForwardErrorCorrection::ParseSsrc(recovered_packet->pkt->data); - LOG(LS_INFO) << "Recovered media packet with SSRC: " << media_ssrc - << " from FlexFEC stream with SSRC: " << ssrc_ << "."; + LOG(LS_VERBOSE) << "Recovered media packet with SSRC: " << media_ssrc + << " from FlexFEC stream with SSRC: " << ssrc_ << "."; last_recovered_packet_ms_ = now_ms; } } diff --git a/webrtc/modules/rtp_rtcp/source/flexfec_sender.cc b/webrtc/modules/rtp_rtcp/source/flexfec_sender.cc index 5019456841..4aec05662f 100644 --- a/webrtc/modules/rtp_rtcp/source/flexfec_sender.cc +++ b/webrtc/modules/rtp_rtcp/source/flexfec_sender.cc @@ -134,14 +134,12 @@ std::vector> FlexfecSender::GetFecPackets() { } ulpfec_generator_.ResetState(); - // TODO(brandtr): Remove this log output when the FlexFEC subsystem is - // properly wired up in a robust way. int64_t now_ms = clock_->TimeInMilliseconds(); if (!fec_packets_to_send.empty() && now_ms - last_generated_packet_ms_ > kPacketLogIntervalMs) { - LOG(LS_INFO) << "Generated " << fec_packets_to_send.size() - << " FlexFEC packets with payload type: " << payload_type_ - << " and SSRC: " << ssrc_ << "."; + LOG(LS_VERBOSE) << "Generated " << fec_packets_to_send.size() + << " FlexFEC packets with payload type: " << payload_type_ + << " and SSRC: " << ssrc_ << "."; last_generated_packet_ms_ = now_ms; }