Stop recording Android IP Webcam

Good morning everyone,
I am using Android IP Webcam and I am very satisfied for my scenario. In the integration, there is a switch called video_recording which correctly starts a manual recording on the device. The fact is that it never ends :sweat_smile:
Is there a way to either manually stop the recording or set a maximum duration?

Thank you very much!