2
votes

I used LAME to encode aac to mp3 in iOS succesfuly. now i want to encode it in real time during the caputure of the pcm sample (meaning to pass the buffer insted of the file), is it possible using LAME to do it or i need to write new function for it?

1
Solved myself. It is possible with LAME.gstream79
Do you have a GitHub project for this? Or could you explain how to do this? I would be very interested in seeing how to do this for myself!nullforlife
I already completed project for this. you can refer my demo project - icecast client on my github linkgstream79
you are welcomegstream79
hi, any solution for change m4a to mp3? Thanksfamfamfam

1 Answers

1
votes

Found this on GitHub. Full demo on how to record microphone samples (in form of AVAudioPCMBuffer via AVAudioEngine) and encoding them to mp3.

https://github.com/vlider/Mic-recording-minimal-example