Re:
Thanks for the quick reply.
This is a piece of log, MediaPlayer::stop() is called in state 4
( MEDIA_PLAYER_PREPARING ) at "12-13 08:41:38.544"
12-13 08:41:38.124 I/youtube (24556): getHttpData URL:
http://gdata.youtube.com/feeds/videos/eKRAQh1Rdu0/related?format=2&star
You cannot send a pause during preparing state. The only command that
will be accepted is reset.
On Jan 21, 5:14 am, OOD Tsen wrote:
> Re:
>
> I saw the code,but I still get the error message in state
> MEDIA_PLAYER_PREPARING.
> I think in the "/cupcake/frameworks/base/core/java/android/widget/
Re:
I saw the code,but I still get the error message in state
MEDIA_PLAYER_PREPARING.
I think in the "/cupcake/frameworks/base/core/java/android/widget/
MediaController.java"
MediaController get player state by async function isPlaying() and it
may not up to date.
And the MediaController may ca
Hi,
Yes, the transition between MEDIA_PLAYER_PREPARING to
MEDIA_PLAYER_PREPARED is asynchronous. This is done because
"Preparing" a clip for playback may take some amount of time, and it
is not desired to block the application during that time. The
application needs to set the "prepared listener"
I have a problem while streaming.This is a state diagram of
mCurrentState in "/cupcake/frameworks/base/media/libmedia/
mediaplayer.cpp"
http://docs.google.com/Doc?id=dhb4wxjx_167cn2jrbd7
1.When we got a network error while streaming, mCurrentState will
reset to MEDIA_PLAYER_STATE_ERROR,
2.Media