I'm very torn on these laws. On one hand I understand the purpose, but on the other recoding phone calls and meetings is immensely useful. On Android I had an option to automatically record phone calls and it has saved my ass many times, while on IOS it's not possible at all.
In many places it's perfectly legal to record interactions you are a part of without informing anyone about it. Publishing them is usually another matter.
Btw, how do you understand the purpose of this law? Because I can't imagine it serving anyone other than abusers and liars that want to abuse a lie without leaving evidence.