"E/MediaPlayer( 1455): stop called in state 4".It means that it is stopped
in the MEDIA_PLAYER_PREPARING
In MediaPlayer.cpp ,LOGE("error (%d, %d)", ext1, ext2), its log is
"E/MediaPlayer( 1455): error (-38, 0)".

In the MediaPlayer.h,it is said that the different value of the ext1 means
the different media_error_type.but I can not find out what is meaning of the
"-38"; I am very appreciate if you could give me a reason .Thanks.


________________________________________________________________________
// Generic error codes for the media player framework.  Errors are fatal,
the
// playback must abort.
//
// Errors are communicated back to the client using the
// MediaPlayerListener::notify method defined below.
// In this situation, 'notify' is invoked with the following:
//   'msg' is set to MEDIA_ERROR.
//   'ext1' should be a value from the enum media_error_type.
//   'ext2' contains an implementation dependant error code to provide
//          more details. Should default to 0 when not used.
//
// The codes are distributed as follow:
//   0xx: Reserved
//   1xx: Android Player errors. Something went wrong inside the
MediaPlayer.
//   2xx: Media errors (e.g Codec not supported). There is a problem with
the
//        media itself.
//   3xx: Runtime errors. Some extraordinary condition arose making the
playback
//        impossible.
//
enum media_error_type {
    // 0xx
    MEDIA_ERROR_UNKNOWN = 1,
    // 1xx
    MEDIA_ERROR_SERVER_DIED = 100,
    // 2xx
    MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK = 200,
    // 3xx
};


2009/9/14 yjshi <shiyaju...@gmail.com>

>
> Hi,all.
> Why Update buffering is always 0% when mediaplayer play the rtsp ?
> I try to play this  both on the emulator and on the device.
> but eveytime it shows that the Update buffering is always 0%.
> Could anyone give me a reason ?
>
> At last it always shows the log
>
> E/MediaPlayer( 1455): stop called in state 4
>
> E/MediaPlayer( 1455): error (-38, 0)
>
> E/PlayerDriver( 1088): Command (7) was cancelled
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to