diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc index a314778b7f2de70bb05c1eb45616859348bedfcc..882b793bdb7c533f63248b3bbd1a4f108fa09d07 100644 --- a/pc/sdp_offer_answer.cc +++ b/pc/sdp_offer_answer.cc @@ -5005,7 +5005,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; }