this is what I would like to do:
- Get audio from the microphone
- Encode it in AAC, G.711 or G.726
- Write the encoded frames to a socket.
I found many examples but they all write to file. Can you link me to any tutorial/documentation/example/library that has an output buffer or a callback instead?
I solved my problem by modifying the AQRecorder class from the SpeakHere example by Apple.
The project is available here https://github.com/robovm/apple-ios-samples/tree/master/SpeakHere.