What Does The MediaPlayer Message "internal/external State Mismatch Corrected" Mean?
I've been doing some pretty complex things with the MediaPlayer. Unlike https://stackoverflow.com/questions/7399286/android-media-player-internal-external-state-mismatch, I'm only
Solution 1:
Not sure that answers your question, but looking at the source code, it seems like the state was MEDIA_PLAYER_STARTED
although the player stopped playing already, and Stagefright changes the state to MEDIA_PLAYER_PAUSED
.
There's seem to be an open bug for that: http://code.google.com/p/android/issues/detail?id=9732
Solution 2:
I got the "internal/external state mismatch corrected" errors to stop by calling MediaPlayer.reset() immediately after instantiating the MediaPlayer object:
MediaPlayer mp = new MediaPlayer();
mp.reset();
Post a Comment for "What Does The MediaPlayer Message "internal/external State Mismatch Corrected" Mean?"