What would prevent me from walking around the street or in semi-public places recording non-stop on my phone? Heck, I could have a few phones in my pockets!
Indeed, even though murder is illegal, it still happens. But the law is there to codify that murder is heavily frowned upon. Places where legislation were absent of the law isn't sufficiently effective enforced, tend to have more random violence.