Open the Device Details using settings button
in the top right of the live feed, then open the Local Storage Setting screen. To enable loop recording turn on General Record Storage and set the Recording Schedule.
You can also set the camera to record in High Definition, or Low Definition to save space.