On publisher republish (cohost hard refresh → same pubkey + kind → SFU supplants), the OLD track sees mute → ended on the subscriber side and its watchVideoTrackForRemoval closure called removeXTile(pubHex). But by then the NEW track had already populated the same tile entry — so the old watcher tore down the live tile. Net effect: other peers saw the cohost's camera flash on and disappear (the local preview kept rendering because that path is independent of SFU subscribe). Each removeFn now checks the streams store still maps pubHex to the stream it was registered against; if not (the new track replaced it), the old watcher is a no-op. |
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||