I am not sure whether audio units can work as codecs in a streaming audio scenario on the iPhone.
I've read in various places that it can be done, but I haven't seen any examples or proper documentation for that. Instead, I find that most of the apps released have utilised ffmpeg and libmms.
I appreciate any help you can give me.