Status API: speaking is always false (who is talking is not reported to companion apps) #732

Closed
opened 2026-11-16 01:36:18 +00:00 by charles · 1 comment
Owner

Reported by Charles, 2026-11-16: "the api we built for mirabox doesn't seem to pass who's talking in realtime".

Cause (confirmed in the code). crates/fluxer-core/src/selectors/voice_status.rs has let speaking = false; — the status payload reports speaking: false for every participant. This was deferred in Voice 11 (#115 item 2: "the live room is not on voice yet") and #115 was later closed without it. The data exists now: the sidebar and call tiles ring the active speakers (is_speaking), and apps/fluxer/tests/voice_acceptance.rs even asserts that the status API does NOT show a speaker, with a comment to flip it once fixed.

Wanted.

  • speaking per participant from the live room, as the selector's own doc says: is_speaking, false while the participant shows as muted, OR-ed across a user's devices; the local user included.
  • Pushed over the WebSocket (/status) when it changes, with the latency and coalescing of the original (fluxer_desktop/src/main/StatusApi.ts and whatever feeds it in the web app: read how often it publishes speaking changes and how it protects slow readers); the one-shot GET shows the current value.
  • Flip the acceptance test to assert a speaker appears and disappears in the payload within a bound.
  • While there: #115 item 3, avatarUrl (the original gives the guild member avatar when there is one, and a default-avatar URL for users without one; we give the user avatar or null) — do it if it is small, otherwise say what it needs.
  • Check the payload against the original's field for field (names, types, when fields are absent) since companion plugins (Stream Dock / Mirabox) parse it.
**Reported by Charles, 2026-11-16:** "the api we built for mirabox doesn't seem to pass who's talking in realtime". **Cause (confirmed in the code).** `crates/fluxer-core/src/selectors/voice_status.rs` has `let speaking = false;` — the status payload reports `speaking: false` for every participant. This was deferred in Voice 11 (#115 item 2: "the live room is not on `voice` yet") and #115 was later closed without it. The data exists now: the sidebar and call tiles ring the active speakers (`is_speaking`), and `apps/fluxer/tests/voice_acceptance.rs` even asserts that the status API does NOT show a speaker, with a comment to flip it once fixed. **Wanted.** - `speaking` per participant from the live room, as the selector's own doc says: `is_speaking`, false while the participant shows as muted, OR-ed across a user's devices; the local user included. - Pushed over the WebSocket (`/status`) when it changes, with the latency and coalescing of the original (`fluxer_desktop/src/main/StatusApi.ts` and whatever feeds it in the web app: read how often it publishes speaking changes and how it protects slow readers); the one-shot GET shows the current value. - Flip the acceptance test to assert a speaker appears and disappears in the payload within a bound. - While there: #115 item 3, `avatarUrl` (the original gives the guild member avatar when there is one, and a default-avatar URL for users without one; we give the user avatar or null) — do it if it is small, otherwise say what it needs. - Check the payload against the original's field for field (names, types, when fields are absent) since companion plugins (Stream Dock / Mirabox) parse it.
charles changed title from Status API: is always false (who is talking is not reported to companion apps) to Status API: speaking is always false (who is talking is not reported to companion apps) 2026-11-16 01:36:26 +00:00
Author
Owner

Fixed in nightly 2026.1116.339 (PR #733). Remaining payload differences: #734.

Fixed in nightly 2026.1116.339 (PR #733). Remaining payload differences: #734.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#732
No description provided.