GiraffePlayer2 icon indicating copy to clipboard operation
GiraffePlayer2 copied to clipboard

E/MediaPlayerNative: Attempt to call getDuration in wrong state: mPlayer=0x0, mCurrentState=0

Open HazimSharif opened this issue 6 years ago • 1 comments

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

HazimSharif avatar Dec 22 '18 12:12 HazimSharif

can you give me the full log,the Attempt to call getDuration in wrong state is not the key log of "something error"

tcking avatar Dec 24 '18 03:12 tcking