Hello, very happy to know you liked it!
So you want to store every frame captured, for how long? That’s gonna be pretty heavy for the memory to store as time goes by I would say. If it is for a short duration time, you can create an array and append to it. If it’s for a long time, I would advise you to test and see where the limit is.
Inside the capture output delegate method, you have access to the UIImage and you can go on from there.
To stop the recording, you can just call stopRunning() on the capture session:
Then, when you feel like resuming, just call startRunning() again: