What survey cam to buy?

I want to buy a survey cam that can record in SD car all the time, and stream video to HA. I have an old a Xiaomy xiaofang camera with the hack, as generic camera in HA. It can stream, but it can’t record on SD card at time, due to firm hack limitation. I am not sure what brand and model is better for this… if possible, without depending on manufacturer API or app… thanks