rowboat/apps/x/packages
PRAKHAR PANDEY faaefe936f
fix: resolve macOS mic permission on first click in voice mode (#613)
On macOS, the first getUserMedia({audio:true}) call hits TCC permission
status 'not-determined' — the OS prompt appears but the in-flight call
rejects, is silently swallowed, and the UI snaps back to idle. Second
click works because permission is already granted.

Fix: add voice:ensureMicAccess IPC channel (mirroring the existing
meeting:checkScreenPermission pattern) that calls
systemPreferences.askForMediaAccess('microphone') before getUserMedia,
so the same first click proceeds once the user grants access.

Also fixes a secondary bug: on the failure path, the code only called
setState('idle'), leaking the WebSocket that connectWs() had already
opened. Now calls stopAudioCapture() for proper cleanup.
2026-06-11 02:07:18 +05:30
..
core feat: render background-task HTML output and open its links externally (#615) 2026-06-11 01:45:10 +05:30
shared fix: resolve macOS mic permission on first click in voice mode (#613) 2026-06-11 02:07:18 +05:30