rowboat/apps/x
PRAKHAR PANDEY 0f4a693b34
fix: macOS meeting auto-stop via track-state polling (#612)
* fix: add track-state polling for macOS meeting auto-stop

On macOS (ScreenCaptureKit/Electron 39) the system-audio track does not
fire 'ended' or 'mute' events when the meeting ends. Add a 3-second
polling interval that checks track.readyState and track.muted directly.
Auto-stops after the track is muted for 3 consecutive polls (~9 seconds),
or immediately if readyState becomes 'ended'. Windows behavior unchanged
(existing 'ended' event listener kept intact).

* fix: gate macOS meeting muted-poll auto-stop on scheduled calendar end

On macOS the system-audio track reports muted=true both when the meeting
ends and during any silent stretch of a still-live meeting, so the
unconditional ~9s muted hard-stop could cut a quiet-but-live meeting short
with no warning.

Only hard-stop on sustained mute once we're past the linked calendar
event's scheduled end (a strong "it's really over" signal); otherwise let
the existing silence nudge + backstop handle it. Gate the whole poll to
macOS — Windows already auto-stops via the track "ended" event — and drop
the noisy per-poll debug log.

---------

Co-authored-by: Gagancreates <gaganp000999@gmail.com>
2026-06-11 02:00:11 +05:30
..
apps fix: macOS meeting auto-stop via track-state polling (#612) 2026-06-11 02:00:11 +05:30
packages feat: render background-task HTML output and open its links externally (#615) 2026-06-11 01:45:10 +05:30
patches feat: run code mode on an in-app ACP client with live approvals (#593) 2026-06-05 14:45:08 +05:30
.gitignore chore: ignore test-fixtures dir 2026-05-08 17:04:25 +05:30
ANALYTICS.md Add app version to analytics events 2026-05-29 17:02:01 +05:30
eslint.config.mts ignore renderer eslint 2026-01-16 12:05:33 +05:30
LIVE_NOTE.md Refactor builtin file tools beyond workspace scope 2026-05-25 16:21:51 +05:30
package.json integrate electron forge 2026-01-17 10:28:44 +05:30
pnpm-lock.yaml add pacman maker for Arch Linux packages (#604) 2026-06-10 14:55:15 +05:30
pnpm-workspace.yaml feat: run code mode on an in-app ACP client with live approvals (#593) 2026-06-05 14:45:08 +05:30
tsconfig.base.json bootstrap new electron app 2026-01-16 12:05:33 +05:30