From 1bf2a2520b2f470cf5dc68c708893b4e58514c52 Mon Sep 17 00:00:00 2001 From: LGH W Date: Thu, 10 Oct 2024 15:48:06 +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