From caa0548113925b9de048df20769f8300b9a30acb Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sun, 7 Jun 2026 11:33:57 -0400 Subject: [PATCH] zebra-spaces: fresh-stream wrap on mic ontrack + mute-gate mesh swap (kill fedora-chrome silence) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fox 2026-06-07 telemetry on blanka-chrome ruled out the sink-routing hypothesis from 467146a: audio via AudioContext 085b target=0.5s ctxState=running sink=default mesh stream swapped into worklet for 085b ... aud.recv pkt=14622 lost=1 bytes=9117575 jitter=0.0100 level=0.000 jbuf=? lp=0.1s 50 pps stereo Opus arriving on the SFU sub PC, sink routed to the picked device, but jbuf=? (jitterBufferEmittedCount=0) + level=0 — the native decoder consumes nothing because no MediaStreamSource is bound to the SFU receiver's track. fxhp-phone same room same window decodes fine (jbuf=0.49s level=0.001), so the SFU is healthy and the defect is per-client wiring. Two coupled defects: (A) tracks=0 race in handleRemoteSfuTrack mic branch. Chrome can fire ontrack with ev.streams[0] still empty at handler-time (the live track arrives a microtask later, or MSID-supplant merges new+dead tracks). Caching ev.streams[0] then handing it to attachSfuTrack drops the listener into the silent