In at least three states, it is now illegal to record any on-duty police officer. Even if the encounter involves you and may be necessary to your defense, and even if the recording is on a public street where no expectation of privacy exists. The legal justification for arresting the "shooter" rests on existing wiretapping or eavesdropping laws, with statutes against obstructing law enforcement sometimes cited. Illinois, Massachusetts, and Maryland are among the 12 states in which all parties must consent for a recording to be legal unless, as with TV news crews, it is obvious to all that recording is underway. Since the police do not consent, the camera-wielder can be arrested. Most all-party-consent states also include an exception for recording in public places where "no expectation of privacy exists" (Illinois does not) but in practice this exception is not being recognized.
A few weeks ago, an Illinois judge rejected a motion to dismiss an eavesdropping charge against Christopher Drew, who recorded his own arrest for selling one-dollar artwork on the streets of Chicago. Although the misdemeanor charges of not having a peddler's license and peddling in a prohibited area were dropped, Drew is being prosecuted for illegal recording, a Class I felony punishable by 4 to 15 years in prison.
In 2001, when Michael Hyde was arrested for criminally violating the state's electronic surveillance law - aka recording a police encounter - the Massachusetts Supreme Judicial Court upheld his conviction 4-2.
Read more here.