The legality is immaterial as this isn't a court case. If someone wants to record you without notifying you, they will.