The most difficult part is making sure the connection to fetch recordings when requested by a person using the app is reliable. That needs the server or your phone to be able to contact the NAS on the other side of your ISP and your router. That's hard and a headache to trouble shoot compared to just having the camera stream to some central server.