The remote screen/camera thumb was freezing on the listener side after the publisher stopped sharing. Root cause: when the SFU stops the transceiver and renegotiates, browsers DON'T reliably fire 'ended' on the remote track (Chromium half-fires, Firefox stays silent). 'mute' DOES fire when RTP stops arriving. watchVideoTrackForRemoval(track, fn): - 'ended' → remove immediately - 'mute' → schedule remove in 1.5s - 'unmute' → cancel pending remove (transient network blip ≠ unshare) - already-muted at attach time → schedule remove immediately Applied to both screen and camera ontrack paths. fixes the symptom in both Firefox and Chromium without waiting for a hard refresh. |
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||