Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit c6b04d2

Browse files
Skip pending-permission error for system audio
TCC status for audio capture can lag behind the actual grant. Only block on an explicit denied — if the status is still neverRequested after polling, let the capture layer surface a real error if one occurs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cf718cb commit c6b04d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ async function requestPermissionForMeeting(permission: PermissionKind) {
19491949
throw new Error(permissionDeniedMessage(permission));
19501950
}
19511951

1952-
if (nextStatus !== "authorized") {
1952+
if (nextStatus !== "authorized" && permission === "microphone") {
19531953
throw new Error(permissionPendingMessage(permission));
19541954
}
19551955
}

0 commit comments

Comments
 (0)