mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Reduce log spam
This removes frequent output (typically 3 times in a row): "RED codec red is missing an associated payload type." Bug: none Change-Id: Ie7e0f344209cb01f9730960a6fec9d5987eaadfd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/301720 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39885}
This commit is contained in:
parent
aa3c9f2972
commit
5c5b7b38ba
1 changed files with 4 additions and 2 deletions
|
@ -948,8 +948,10 @@ static const C* GetAssociatedCodecForRed(const std::vector<C>& codec_list,
|
|||
std::string fmtp;
|
||||
if (!red_codec.GetParam(kCodecParamNotInNameValueFormat, &fmtp)) {
|
||||
// Normal for video/RED.
|
||||
RTC_LOG(LS_WARNING) << "RED codec " << red_codec.name
|
||||
<< " is missing an associated payload type.";
|
||||
if constexpr (std::is_same_v<C, AudioCodec>) {
|
||||
RTC_LOG(LS_WARNING) << "RED codec " << red_codec.name
|
||||
<< " is missing an associated payload type.";
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue