Of course it is. You can’t put up a camera on your porch and shoot your driveway and part of the street. To follow the law you have to point it so it’s only covering your driveway or lawn and no public space. It’s pretty simple restrict the field of view with a screen in front or bit of tape over the camera if needed.
Does everyone do that? Probably not. But that doesn’t change how the law is written.