GiraffePlayer2
GiraffePlayer2 copied to clipboard
E/MediaPlayerNative: Attempt to call getDuration in wrong state: mPlayer=0x0, mCurrentState=0
Hello Tom,
I'm getting message "something error" in below cases:
1- when player start, and user seek forward or backward while video is still loading. 2- when user pause video, go to home screen or some other activity, then go back to player 3- while video is playing, go to home screen or other activity, then go back to player (sometimes play normally, and sometime show the error)
From log i see this error : "E/MediaPlayerNative: Attempt to call getDuration in wrong state: mPlayer=0x0, mCurrentState=0"
And when i click play button if showing "something error", the audio starts with black screen.
Please advise
Thank you
can you give me the full log,the Attempt to call getDuration in wrong state
is not the key log of "something error"