Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/MediaPlayerNative( 9032): error (1, -19) #661

Closed
oSamDavis opened this issue Oct 30, 2020 · 4 comments
Closed

E/MediaPlayerNative( 9032): error (1, -19) #661

oSamDavis opened this issue Oct 30, 2020 · 4 comments

Comments

@oSamDavis
Copy link

I am using AudioCache to play sounds in my assets in my Flutter project. Initially plays sounds perfectly for me but stops along the way, I have no idea why.
Screenshot (339)

@Jolium
Copy link

Jolium commented Nov 4, 2020

I have the same problem. I think it happened to me when I upgraded a few dependencies, but I have already downgraded the dependencies and the problem persists.

print_problem

@oSamDavis
Copy link
Author

okay yes, Try using version 0.10. it works fine for me

@minikupa
Copy link

same error

@vietdungkma
Copy link

I get the same issue when using:
audioplayers: ^0.17.2
I have an app that have 7 button equivalent to 7 audio files in the assets folder to be play.
The problem it, when I spam clicking into those buttons, to a certain time, the issues happens and can't play any audio file any more, the error logs shown like the one of @Jolium

I switch back to:
audioplayers: '0.16.0'

and everything works fine :)

Here are some of mine error logs:
E/MediaPlayerNative( 8470): error (1, -19)
E/MediaPlayer( 8470): Error (1,-19)
E/MediaPlayerNative( 8470): pause called in state 0, mPlayer(0xb8c3c310)
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayerNative( 8470): Attempt to perform seekTo in wrong state: mPlayer=0xb8c3c310, mCurrentState=0
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayerNative( 8470): error (1, -19)
E/MediaPlayer( 8470): Error (1,-19)
E/MediaPlayerNative( 8470): pause called in state 0, mPlayer(0xb8c2ba20)
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayerNative( 8470): Attempt to perform seekTo in wrong state: mPlayer=0xb8c2ba20, mCurrentState=0
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayerNative( 8470): error (1, -19)
E/MediaPlayer( 8470): Error (1,-19)
E/MediaPlayerNative( 8470): pause called in state 0, mPlayer(0xb8c39940)
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayerNative( 8470): Attempt to perform seekTo in wrong state: mPlayer=0xb8c39940, mCurrentState=0
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayerNative( 8470): error (1, -19)
E/MediaPlayer( 8470): Error (1,-19)
E/MediaPlayerNative( 8470): pause called in state 0, mPlayer(0xb8c278e0)
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayerNative( 8470): Attempt to perform seekTo in wrong state: mPlayer=0xb8c278e0, mCurrentState=0
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayer( 8470): Error (-38,0)
E/MediaPlayerNative( 8470): error (1, -19)
E/MediaPlayer( 8470): Error (1,-19)
E/MediaPlayerNative( 8470): pause called in state 0, mPlayer(0xb8c30760)
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayerNative( 8470): Attempt to perform seekTo in wrong state: mPlayer=0xb8c30760, mCurrentState=0
E/MediaPlayerNative( 8470): error (-38, 0)
E/MediaPlayer( 8470): Error (-38,0)

Screen Shot 2021-01-12 at 00 22 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants