please start the player on onPreparedListener()
On Wed, Sep 9, 2009 at 1:59 PM, yjshi <[email protected]> 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.
> >
>
--
Dilli Rao. M
Software Developer
www.arijasoft.com
- a pioneer in Mobile App Development
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---