mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-12 19:55:19 +02:00
* 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> |
||
|---|---|---|
| .. | ||
| cli | ||
| docs | ||
| experimental | ||
| python-sdk | ||
| rowboat | ||
| rowboatx | ||
| x | ||