Question

I have videochat application in which I have to play incoming audio data.I have decoded the audio data but I don't know how to play the audio data. Here continuous audio data is coming so I cannot use AVAudioPlayer. When googled, many people have suggested to use AudioQueues and AudioUnit which is quite tedious to implement. Can someone suggest a better solution?

Was it helpful?

Solution

This Cocoa with Love article started it all but is now quite old.

I cannot find the library I was thinking of, although it may have been closed source. Looking around I found StreamingKit which looks really great! If I ever have to update my own streaming code (trust me, you don't want it), I'd probably replace it with something like this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top