"progressive stream" is a address begin with "http://". And now "MediaPlayer" could play the progressive streaming.
My question is how to play the real-time streaming. I found some people have said that it could play the "rtsp://".But I have never done it successfully so far. So I want to know the reason why if could not play.If anyone else has played the real-time streaming ,please give me a suggestion to solve this problem. Thanks. 2009/9/9 tstanly <tsai.sta...@gmail.com> > > this issue was still un-solute for a long time. > > the only possiable answer I know, > is the stream must be a "progressive stream". > > > so you can try a stream server that can support "progressive". > > > On 9月9日, 下午4時29分, yjshi <shiyaju...@gmail.com> wrote: > > I create a "mplayer" to play the rtsp on the emulator . when the > > "mplayer" play the http ,it is ok. > > > ---------------------------------------------------------------------------------- > > MediaPlayer mplayer = new MediaPlayer(); > > mplayer.setDataSource("rtsp://test.intra.3g.sina.com.cn/streaming/ > > 20090313/wenjiabao1.mp4"); > > mplayer.prepare(); > > mplayer.start(); > > > ---------------------------------------------------------------------------------- > > but when it play the rtsp, it does'nt work.the Wireshark shows UDP > > CHECKSUM INCORRECT. > > > > 806 89.930803 10.4.70.24 125.76.233.38 > > UDP Source port: 59211 Destination port: 6971 [UDP CHECKSUM > > INCORRECT] > > > ---------------------------------------------------------------------------------- > > Then I let the "mplayer" worked on the device,but it is also has some > > problems.Just like working on the emulator ,it doesn't play .Because > > it is in the device ,I could not use the Wireshark to catch the > > packets. I will be appreciate if anyone could give me a suggestion . > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---