Using AERecorder to save AVPlayer output
Hi guys! I'm working on an application that uses AVPlayer to reproduce a m3u8 stream coming from my server. I want to record certain parts of it: I've tried instantiating the AEAudioEngine and setting an AERecorder as output receiver, but the file comes out empty (correct length, but no audio recorded). How should I go about doing this?
Thanks in advance!