syedhali / EZAudio

An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.
Other
4.93k stars 821 forks source link

Upload Audio stream from buffer in iOS #352

Open kashiftriffort opened 7 years ago

kashiftriffort commented 7 years ago

I need to upload any kind of audio data to the server. Once user open the app and start saying anything from microphone, it gets uploaded on sever. I have got bufferList using below function, which is used to upload. I just need to confirm whether I am using the right delegate method or not.

-(void) microphone:(EZMicrophone )microphone hasBufferList:(AudioBufferList )bufferList withBufferSize:(UInt32)bufferSize withNumberOfChannels:(UInt32)numberOfChannels