The problem with this camera is, has to be that as soon as the size of the JPEG image exceeds 60kb (in scenes with many details) crashes the entire camera rebooted. The solution would be to disassemble the camera to solder a special cable and a new firmware to the DSP chip.
Simply by "Foscam DSP Bug" googling, there are thousands of pages of complaints about Foscam Forum.