Reduce log verbosity in codec selection implementation
Bug: webrtc:15064 Change-Id: I42a68987842d970437a0e00f318e2a97a80829e8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/321700 Auto-Submit: Florent Castelli <orphis@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40825}
This commit is contained in:
parent
2d508f10d3
commit
bbc7711878
@ -1873,7 +1873,7 @@ webrtc::RTCError WebRtcVoiceSendChannel::SetRtpSendParameters(
|
||||
// TODO(orphis): Support mixed-codec simulcast
|
||||
if (parameters.encodings[0].codec && send_codec &&
|
||||
!send_codec->MatchesRtpCodec(*parameters.encodings[0].codec)) {
|
||||
RTC_LOG(LS_ERROR) << "Trying to change codec to "
|
||||
RTC_LOG(LS_VERBOSE) << "Trying to change codec to "
|
||||
<< parameters.encodings[0].codec->name;
|
||||
auto matched_codec =
|
||||
absl::c_find_if(send_codecs_, [&](auto negotiated_codec) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user