Is it possible to do video file "chunking"/segmenting while still recording using AVFoundation?
===

I am attempting to use AVFoundation to record video on OS X but it waits till then end of the recording to save the file. I want to be able to have it save whatever it has captured every 5/10/X seconds.

I need to do this so that as it saves off the video files I can stream the segments to a server while the video is still recording so I can server up "almost live" video off the server.

Thanks for any help you may be able to provide!