Massachusetts requires all-party consent for private communications (MGL c.272 s.99). Recording police in public is protected — Commonwealth v. Hyde (2001) held officers in public have no reasonable expectation of privacy.
Constitutional law cases that apply in your state or nationwide.