From 5b348405213042153b0fa3307b38815620c386cb Mon Sep 17 00:00:00 2001 From: deepashreeKedia Date: Tue, 19 May 2026 17:10:40 +0530 Subject: [PATCH] log re-add --- api/routes/webrtc_signaling.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/routes/webrtc_signaling.py b/api/routes/webrtc_signaling.py index 4db33aa..36ae589 100644 --- a/api/routes/webrtc_signaling.py +++ b/api/routes/webrtc_signaling.py @@ -395,6 +395,9 @@ class SignalingManager: if ENVIRONMENT != Environment.LOCAL.value and not FORCE_TURN_RELAY and is_private_ip_candidate( candidate_str ): + logger.debug( + f"Skipping private IP candidate in {ENVIRONMENT}: {candidate_str[:50]}..." + ) return try: @@ -404,6 +407,7 @@ class SignalingManager: candidate.sdpMLineIndex = candidate_data.get("sdpMLineIndex") await pc.add_ice_candidate(candidate) + logger.debug(f"Added ICE candidate for pc_id: {pc_id}") except Exception as e: logger.error(f"Failed to add ICE candidate: {e}") else: