My question involves police conduct in the State of: California

I wasn't too sure where to make this thread, sorry

First of all, I'm not one of those annoying people who purposely record police just to get into an argument and post it on YouTube. Im wondering the legality of recording a police officer whether face to face or them doing something else with another person (traffic stop, etc.)

I cant find the penal code or any "official" information. Can you help? Thanks

I live in Los Angeles incase that changes anything.