Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

iOS Audio Crackling issue when send audio data to UDP server and Play

I am experiencing an issue while recording audio using AVAudioEngine with the installTap method. I convert the AVAudioPCMBuffer to Data and send it to a UDP server. However, when I receive the Data and play it back, there is continuous crackling noise during playback.

I am sending audio data using this library "https://github.com/mindAndroid/swift-rtp" by creating packet and send it.

Please help me resolve this issue. I have attached the code reference that I am currently using.

Thank you.

iOS Audio Crackling issue when send audio data to UDP server and Play
 
 
Q