Hi!
I don't know if this is the place but I wanted to talk a little bit about possible approaches.
The way I have thought on how to do this is:
In MediaRecorder::startRecording(Optional<int> timeslice), every few seconds (the time pass in timeslice) execute the code in MediaRecorder::stopRecording()with some modifications.
There are some things to figure it out but do you think is the best approach or have any other ideas?
Thanks!