Search code examples
iosobjective-ccocoa-touchplaybackavcapturesession

How to play audio using the raw data received in AVCaptureSession?


I have been trying to play audio which is received as raw data, in didOutputSampleBuffer: delegate. I was able to process the video data, however I have no idea how to process audio data, Can anyone please guide me in a right way?


Solution

  • I have processed the raw audio data using AudioUnit method. I am not sure it is the best way, but it worked somewhat.