This is essentially a wiretap.
It's illegal in most states to place a listening device in public that captures private conversations, this is basically no different.