Hello, Ava!
Have a nice day!
There will are two ways to deal with the recording.
When the recording reaches the maximum storage, the system will overwrite the recording from the old recording.
When the recording reaches the maximum storage, stop recording.
It can be set in the C/S client, please see the link:
Setting Recording Parameters
If you have other questions, please ask in the community!