In the state of Washington a state patrol sergeant and a trooper ended up arresting a guy who was audio recording them during a stop. It went to federal court, and they rightfully lost. I knew both of those officers, and liked them, but they were out to lunch.
When I worked, record away. Just don’t shove it in my face, interfere with my duties or invade my crime scene.