I linked the law in my other comment — to this non-lawyer's reading, it forbids security cameras that capture audio, but not video-only surveillance cameras.
As an example, dash cams that record audio are legal in California. However, there can be cases when somebody expects to have a confidential conversation with you (on the phone, standing next to the door, or from the backseat) and you must notify them of the audio recording.