Which is the best way to get raw audio and stream over the network?

Hello, I'm quite new to iOS/swift development. Currently I'm developing an iOS (swift) framework whose pourpose is to get raw data from microphone, perform some easy analysis and treatment (Voice activity Detection/Effective voice time..) and post it as it is generated to a server. For the network part I'm trying with Alamofire, but I'm a bit lost in the part of getting the raw audio cause I've seen many options in the documentation (AVAudioRecorder, AVEngine, Media Capture, Audio Unit...) Which one would be the best to get done with this, and there is any code sample that demonstrates this (preferably in swift)?.


Thank you in advence,

Regards.


Miguel Ibáñez

Did you ever solve this?

Which is the best way to get raw audio and stream over the network?
 
 
Q