Stu Mason · Folkestone, Kent
One entryMerged PR· StuMason/roll· Swift

PR #18 merged: fix(capture): explicitly request camera/mic consent (silent TCC deny in installed app)

additions
+19
deletions
-0
files changed
1

The sidecar never called AVCaptureDevice.requestAccesstry? AVCaptureDeviceInput swallows the notDetermined failure, so any fresh TCC identity (an installed Roll.app rather than dev mode under the terminal's grant) sat at "connecting…" forever with no prompt and no error. Found tonight dogfooding the first dmg-installed build.

Adds ensureAVAccess(): explicit video+audio consent request at --serve start and in the one-shot record path; logs granted/denied to stderr. No-op when already authorized (dev mode confirmed working with this build).

Part of the #17 story — an installed bundle additionally needs code signing for TCC to grant anything at all; signing + externalBin bundling remain open there.

🤖 Generated with Claude Code