diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc index 6ce322622c73856e2c9604fcb7c1015300c3144b..2e65c6261b16f63b04a07daf3a06fa1468ff56fb 100644 --- a/pc/sdp_offer_answer.cc +++ b/pc/sdp_offer_answer.cc @@ -5010,7 +5010,11 @@ bool SdpOfferAnswerHandler::UseCandidate( const cricket::Candidate& c = candidate->candidate(); RTCError error = cricket::VerifyCandidate(c); if (!error.ok()) { +#if BUILDFLAG(IS_OHOS) + RTC_DLOG(LS_VERBOSE) << "Invalid candidate: " << c.ToString(); +#else RTC_LOG(LS_WARNING) << "Invalid candidate: " << c.ToString(); +#endif return true; }