zebra-spaces: log every audio attach for blanka-no-audio diagnosis

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.
This commit is contained in:
Russell Ballestrini 2026-06-05 14:22:08 -04:00
parent f9736c27b4
commit 999e772c20
No known key found for this signature in database

View file

@ -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');
<footer style="margin:2.2rem auto 0;font-size:0.65rem;color:#999;line-height:1.7;word-break:break-all;font-family:monospace">
<span id="pi-seal" style="color:#777;cursor:default;user-select:none" title="">page integrity</span> &nbsp;·&nbsp; built <span class="stamp-date">2026-06-05</span><br>
md5 <span class="stamp-md5">f2358b7676357ab41897765c5be62e41</span><br>
sha256 <span class="stamp-sha">72edcdd634877e58a49eab0a86505fc8c2562e067ef1166d8ea29e8c50ea9661</span><br>
md5 <span class="stamp-md5">7728cca3f32432a3b21a633d303261a6</span><br>
sha256 <span class="stamp-sha">4d1e388864b2f7673158985e3e9a3442c96439132bca62f04ae8be0694affe39</span><br>
<span style="color:#bbb">hashes are of this page with these two fields zeroed — to verify, blank them and re-hash</span><br>
<span style="color:#bbb">one self-contained file — <strong>save a copy</strong> and verify against these hashes; point at your own servers with ?signal= and ?turncred=, or <a href="host-your-own.html" style="color:#999">host your own community</a></span>
</footer>