While the law is rarely enforced, it is quite strict. Areas which have been explored recently involve whether or not it's okay to record the police, including a case of someone who argued she should have been allowed to secretly record her own arrest. Whether or not you're allowed to record strangers on the street without their consent has not been explicitly tested in this way, but I would rather not be a test case.
(One local nonprofit, MassLandlords, has thought about this issue a bit and decided to recommend avoiding security cameras with always-on audio for this reason - https://masslandlords.net/beware-of-cameras-that-record-audi... . The general consensus is that local law is full of untested areas which seem awfully broad; see e.g. https://www.masslive.com/news/index.ssf/2014/06/massachusett... ; but I don't want to be the one to help clarify the boundaries.)