To say the very least on this, the congressman is incorrect on the law.
Two-party consent is relevant only to private oral conversations, and he has zero expectation of privacy here.
1st Amendment gives you the right to record public officials in public places as long as you're not interfering with their official duties.
Republican Rep. Andy Harris incorrectly told a reporter they were breaking the law as the reporter and others recorded an exchange with him last night.
Harris had just wrapped up a debate with Democratic challenger Dan Schwartz.