California requires all parties consent to being recorded in a confidential communication. However, police in public spaces have no expectation of privacy — you may record police performing their duties in public.
Constitutional law cases that apply in your state or nationwide.