If the scheme of the URL is 'rstp://', it should be straightforward. What do you need to know, that is not already covered in http://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol?
If the scheme is not 'rstp://', then you should go for progressive download, not streaming. But if you really need streaming to protect media IP, then go for the rstp scheme and therefore RSTP protocol. On the Android phone, you would use the MediaPlayer's prepareAsync() setOnBufferingUpdateListher() etc. methods. Indeed: most of your question will be answered by searching for the word 'streaming' in the Reference tab for the android.media package, class MediaPlayer. On Jun 24, 7:57 am, MobDev <[email protected]> wrote: > Actually on this same group there have been several reports of the new > 2.2 Mediaplayer being a step backwards, as in many good-running apps > seem to break on Froyo... > Btw, might I ask how you stream aac directly from an url ? > > On 23 jun, 04:51, kabson <[email protected]> wrote:> Hello all, > > I have developed a streaming app for Android. My app is streaming > > AAC audio. The app works fine on 1.5, 1.6, and 2.1. > > I tested it on Froyo, the android 2.2 and it does not work there. I > > have try everthing > > - Streaming directly from server url > > - Download incrementaly the content, store in a temp file, start > > reading. > > - Download incrementaly the content, store in a ContentProvider and > > start reading. > > > No luck, I always got errors : > > 06-23 02:47:02.257: ERROR/MediaPlayer(266): Unable to to create > > media player > > 06-23 02:47:02.257: INFO/System.out(266): setDataSourceFD failed.: > > status=0x80000000 > > > Does Froyo support AAC ? > > > Anyone happens to stream AAC ? > > > Need some help. > > > thanks -- 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

