"You're talking while muted" toast #117

Closed
opened 2026-09-17 15:21:20 -04:00 by jared · 2 comments
Owner

Fork half: LotusGuild/element-call (adds speakingWhileMuted to io.lotus.call_state). This is the host half.

Scope

  • In the call-utils layer (next to useAfkAutoMute, which already consumes io.lotus.call_state), watch the local participant's speakingWhileMuted; when it has been true for ≥1.5 s show one toast: "You're muted" with an Unmute action.
  • Rate-limit: at most once per mute session (re-arms after you unmute and mute again), and never while PTT mode is on (being muted between holds is the point).
  • Setting under Settings → Calls next to AFK Auto-Mute: "Warn me when I talk while muted" (default on).
  • No audio is captured by cinny; the signal comes from the fork's existing track.
Fork half: LotusGuild/element-call (adds `speakingWhileMuted` to `io.lotus.call_state`). This is the host half. ### Scope - In the call-utils layer (next to `useAfkAutoMute`, which already consumes `io.lotus.call_state`), watch the local participant's `speakingWhileMuted`; when it has been true for ≥1.5 s show one toast: **"You're muted"** with an *Unmute* action. - Rate-limit: at most once per mute session (re-arms after you unmute and mute again), and never while PTT mode is on (being muted between holds is the point). - Setting under Settings → Calls next to AFK Auto-Mute: "Warn me when I talk while muted" (default on). - No audio is captured by cinny; the signal comes from the fork's existing track.
jared added this to the Features 2026-Q4 milestone 2026-09-17 15:21:20 -04:00
jared added the enhancementpriority: mediumuxarea: calls labels 2026-09-17 15:21:20 -04:00
jared self-assigned this 2026-09-17 15:21:20 -04:00
Author
Owner

Confirmed not implemented on the local LiveKit stack: alice muted while a 440 Hz tone keeps playing into her mic → no toast in 10 s. Needs the fork to report speaking-while-muted (element-call #37) first; Lotus side is then a small toast on io.lotus.call_state.

Confirmed not implemented on the local LiveKit stack: alice muted while a 440 Hz tone keeps playing into her mic → no toast in 10 s. Needs the fork to report speaking-while-muted (element-call #37) first; Lotus side is then a small toast on `io.lotus.call_state`.
Author
Owner

Done in 73b1d1e3 + pin bump b69099a8 (fork 0.25.0-lotus.9). useMutedTalkWarning polls the fork's speakingWhileMuted while muted; after 1.5 s of it being true it shows one sticky toast "You're muted — click to unmute" whose click unmutes; at most once per mute session (re-arms after unmute → mute), retired the moment the mic comes back on by any means, never in Push-to-Talk mode. Setting Warn me when I talk while muted (default on) sits next to AFK Auto-Mute. No audio is captured by cinny.

Verified headless with a tone mic: nothing at +1 s, toast at +4 s, click unmutes and clears it, second mute re-arms, unmute via the button clears it, PTT mode → nothing.

Done in `73b1d1e3` + pin bump `b69099a8` (fork `0.25.0-lotus.9`). `useMutedTalkWarning` polls the fork's `speakingWhileMuted` while muted; after 1.5 s of it being true it shows one sticky toast **"You're muted — click to unmute"** whose click unmutes; at most once per mute session (re-arms after unmute → mute), retired the moment the mic comes back on by any means, never in Push-to-Talk mode. Setting **Warn me when I talk while muted** (default on) sits next to AFK Auto-Mute. No audio is captured by cinny. Verified headless with a tone mic: nothing at +1 s, toast at +4 s, click unmutes and clears it, second mute re-arms, unmute via the button clears it, PTT mode → nothing.
jared closed this issue 2026-09-19 23:19:58 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#117