Snowden helped design an app that turns your old phone into a surveillance device to help solve the "evil maid" problem

It may depend on whether you’re recording video only, or video and audio. Audio recording has more strict consent laws than video in general. This is why many in-home surveillance cameras (nanny cams) and taxi/Uber security cameras record silent video.