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.