Is the dashcam footage local to the dashcam or the users private data storage, and is gone when the user deletes it?

Or is the dashcam managed by a company that collects and stores the data up uploaded to a cloud of an insecure company?