Signaling: log the shape of cloud room leaves without a peer id (#122)

Keys, value types and lengths only, as for SOAC offers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
VallierDevandClaude Opus 5.5 committed 2026-10-28 14:02:10 +08:00
1 parent ef86019b39
commit 027abba44d
1 file changed
+1
+1
View File
@@ -469,6 +469,7 @@ impl SignalingClient {
log::info!("Cloud peer event: generation={} event={} age_s={} pings={} last_ping_gap_s={} ice_id_present={}",generation,event_name,started.elapsed().as_secs(),pings,last_ping.elapsed().as_secs(),data.get("ice_id").is_some());
let ice_id = data.get("ice_id").and_then(|v| v.as_str()).unwrap_or("");
if ice_id.is_empty() {
log::info!("Cloud room leave shape: {}", crate::protocol::json_shape(data, 3));
log::warn!("Cloud room leave without peer identifier; renewing signaling (expiry cause unknown)");
if !send_event(&event_sender, SignalingEvent::Disconnected).await { break; }
} else {