sessionStorage key MUTE_STATE_KEY persists '1' (muted) / '0' (live) so the page reconnects in the same mute state the user last clicked. No hot-mic on refresh — if you left muted, you come back muted. Restored from ensureMicAndUI() after getMic() succeeds; applyMuteState() syncs the button label, the mic track enable flag, the user's own room row, and broadcasts mic-state to peers if we came back muted. Cleared only on explicit leave; survives role demote → re-promote so reclaiming the mic keeps the user's previously-chosen state. |
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||