I think you do. I don’t think A can record B without B’s permission.
Cops most likely do it for safety reasons.