Some action cameras come with a car mode which can be used to use an action camera as a dashcam. It simply starts rewriting older data in the micro SD card of your action camera. And thus you can keep recording everything in a loop without running out of storage.