zebra-report: zebra-spaces own-mute flips own mic icon

This commit is contained in:
russell@unturf.com 2026-05-31 13:54:25 -04:00
parent 4e83197fbf
commit 8d8ec175b0
No known key found for this signature in database

View file

@ -1164,6 +1164,10 @@ $('btn-mute').addEventListener('click', () => {
micStream.getAudioTracks().forEach(t=>t.enabled=!muted); micStream.getAudioTracks().forEach(t=>t.enabled=!muted);
$('btn-mute').textContent = muted ? 'unmute' : 'mute'; $('btn-mute').textContent = muted ? 'unmute' : 'mute';
$('btn-mute').className = muted ? 'invert' : ''; $('btn-mute').className = muted ? 'invert' : '';
/* flip our own mic icon — mic-state broadcasts inform OTHER peers, but
* without this our own row never updates locally */
const mm = members.get(myUUID);
if (mm){ mm.muted = muted; renderRoom(); }
sendMicState(); sendMicState();
}); });
$('mic-select').addEventListener('change', async (e) => { $('mic-select').addEventListener('change', async (e) => {
@ -1211,8 +1215,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"> <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-05-31</span><br> <span id="pi-seal" style="color:#777;cursor:default;user-select:none" title="">page integrity</span> &nbsp;·&nbsp; built <span class="stamp-date">2026-05-31</span><br>
md5 <span class="stamp-md5">54c383d65ea2c7aee396c9444aa28490</span><br> md5 <span class="stamp-md5">b3bd7f9e87e0dd9c976418bbcca62c2a</span><br>
sha256 <span class="stamp-sha">018f444f698e38d36c8b3666d0188633d0dff052b66a3e19cd33385fccbdb7b2</span><br> sha256 <span class="stamp-sha">297d2cfc541ed03c04b0905b306b538a543304e81ca95ad8cb983516ff0ad68e</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">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> <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> </footer>