From d225046de4f7e36b3b6f7af2599cf18bc49d1d5b Mon Sep 17 00:00:00 2001 From: LGH W Date: Thu, 10 Oct 2024 15:34:44 +0800 Subject: [PATCH] protecting sensitive data Signed-off-by: LGH W --- pc/sdp_offer_answer.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc index a314778b..882b793b 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; } -- Gitee