There are several factors that may cause this issue, and beeping means the cam stops recording and is warning you,
1. Card issue.
Sometimes cards may be incompatible or may get defective after long use, please deep format the card usingthis program. (do not tick quick format)
Or try a new card. Here are the cards you can refer to.
Here are links for the Samsung Pro Endurance card and VIOFO card.
2. Unstable rear camera or interior camera connection.
You can unplug the rear camera or interior camera and just test the main body itself, try below two ports to see if any difference.
3. Firmware issue.
It's suggested you update the latest firmware via the link below: