From 999e772c20c970679cc4756717b66d70c27471b5 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Fri, 5 Jun 2026 14:22:08 -0400 Subject: [PATCH] zebra-spaces: log every audio attach for blanka-no-audio diagnosis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fox 2026-06-05: "blanka-chrome doesn't seem to be getting audio anymore as a speaker." Telemetry shows host muted and nobody else publishing — could be just silence, not an actual audio-pipeline break. Adding a log line on every attachAudioStreamViaWorklet call so we can see the sequence of attaches on blanka's side and verify whether the dedup ever runs / detaches the wrong entry. Format: "audio attach uuid=XXXX target=Ns (current pool=N)" If dedup is killing blanka's audio we'll see attach + dedup-detach in the same window. If no dedup fires and audio still missing, the issue is elsewhere. --- web/zebra-spaces.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 9fea2d1..8867285 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -2961,6 +2961,7 @@ function attachAudioStreamViaWorklet(uuid, stream, targetSeconds){ if (audioCtx.state === 'suspended'){ audioCtx.resume().catch(()=>{}); } + logLine('', 'audio attach uuid='+uuid.slice(0,4)+' target='+targetSeconds+'s (current pool='+listenerAudioNodes.size+')'); const existing = listenerAudioNodes.get(uuid); if (existing){ try { existing.src.disconnect(); } catch(_){} @@ -7503,8 +7504,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');