Import audio recording formats to unity3d with www

I’m using speakhere iphone sdk example wich save audio caf format. Somebody knows how to convert to ogg or import directly to unity at runtime. WWW only supports ogg.

thanks for answers.

Unity iPhone does not support ogg actually.
Only m4a / mp3 playback for compressed formats

But at the documentation…

can read only oggVorbis format can imported at runtime.

Thanks.

Those are not the iPhone docs. You can find them only locally, on your hard drive.
This will probably work: file:///Applications/Unity%20iPhone/Unity%20iPhone.app/Contents/Documentation/Documentation/ScriptReference/index.html

Thanks but local documentation is the same than online documentation.

Potentially but does not change the fact that ogg is not supported on unity iphone at all

the iphone does not have the power to waste 20% of the cpu on music decoding, which is why for compressed formats only the hardware decompressable formats are supported.

I tested www.audioClip y www.oggVorbis and only works with ogg as you can read at documentation. I will test m4a too.