It is no longer illegal for Illinois residents to record police officers on duty, now that a longstanding law has been nullified by the courts.
Since 1961, state law prohibited the audio taping of law enforcement without their consent, except for cases involving the media. Citizens caught violating the law were subject to a felony conviction and 15 years in prison.
Source: All Gov. Read full article. (link)