DEV Community

Super Funicular
Super Funicular

Posted on Originally published at linkedin.com

Every Guide to Running a Phone as a Camera Says “Grant Camera and Microphone.” Only One of Those Is a Camera.

Originally published on LinkedIn. Syndicated here with the canonical link pointing back to the original.

Every guide to turning a phone into a camera has the same step two: grant camera and microphone permission. I have written that sentence myself, more than once, with no condition attached to it.

Only one of those is a camera.

They are not one decision

They are separate grants on Android. Separate runtime permissions, separate foreground-service types, separately revocable. In a lot of places they also sit under different law, and the audio side is the stricter one — which varies enough by jurisdiction that the variation is itself the argument.

And they produce different objects. Point a camera at a hallway and you have a record of who walked through it. Point a microphone at the same hallway and you have a record of what was said in the rooms off it. Everyone who walked past chose to walk past something visible. Nobody in earshot chose anything, because sound goes round corners and there is nothing to look at.

The answer is almost never a use

Ask someone why audio is enabled on their setup and the answer is almost never a use. Both prompts appeared. Both said allow. An audio track is a rounding error next to video, so nothing pushed back. Which is exactly the reasoning a permission prompt exists to interrupt, and demonstrably does not.

I am not against sound. A nursery camera without it is not a baby monitor. A workshop has failures you hear before you see. A dog is fine on camera and miserable on audio. In those cases it is the whole point.

The test

The test is whether you can finish the sentence: I want sound because ___.

If you can, turn it on and tell the people in earshot. If you cannot, you are not capturing audio. You are storing conversations as a side effect of a decision nobody made.

Worth an extra ten seconds at setup.

Related, on the mechanics rather than the ethics

If you do grant the microphone, the platform has opinions about who gets it: Why Android Gives a Background Recorder Silence Instead of an Error. The camera has the same contest with a different resolution rule — Can Two Apps Use the Same Android Camera at Once? And on the consent question from the vendor side: Ring Was Just Sued for Scanning Strangers' Faces Without Consent.


I write these while building Background Camera RemoteStream, an Android app that records and streams with the screen off, no account and no cloud: https://play.google.com/store/apps/details?id=com.superfunicular.digicam

Top comments (0)