It's actually country specific, you don't have a universal rule that you can legally record people in public