Reduce FlexFEC logging severity in two places.
BUG=webrtc:5654 Review-Url: https://codereview.webrtc.org/2621833004 Cr-Commit-Position: refs/heads/master@{#15992}
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -134,14 +134,12 @@ std::vector<std::unique_ptr<RtpPacketToSend>> 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user