Dear folks, I did some research through the forums and there are similar questions but unfortunately still without answer. My goal is to stream AMR stream which I'm reassembling from udp datagrams.According to the API there's officially supported streaming using AudioTrack, but it's supporting PCM only. --> is it possible to convert somehow amr into PCM on the device?
I tried also to point mediaplayer.setDataSource to some URL - I did some testing before going in this way, I pointed to an URL with amr file and I could see that the mediaplayer is trying to buffer first and starts playing without downloading the complete file, but.. - it's playing on the device with wi-fi, when I disable wi-fi (stays with edge), I get (1,-10) error - preparePVMFErrCorrupt EVEN if this will work, do I have the guarantee that the buffering won't take too long? (I've seen buffering cca. 10kB, which is with 12.2kbps few seconds, far away from the real-time feeling) How about ParcelFileDescriptor? If recording can provide the recording stream via socket, is it possible to point mediaplayer to such a socket too? In my test, it failed.. Any other ideas? Your help will be much appreciated! Cheers, Marek
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

