flutter_playout icon indicating copy to clipboard operation
flutter_playout copied to clipboard

MediaPlayerNative on Android

Open NikiTsitsiroudi opened this issue 4 years ago • 2 comments

hiya! When I am trying to run the application on android I am getting an error regarding the MediaPlayerNative. The error is E/AudioServiceBinder: onPlayerError: [what=-38] [extra=0] E/MediaPlayerNative: pause called in state 0, mPlayer(0x74db4e8500) E/MediaPlayerNative: error (-38, 0) E/AudioServiceBinder: onPlayerError: [what=-38] [extra=0] E/MediaPlayerNative: pause called in state 0, mPlayer(0x74db4e8500)

Any ideas why?

NikiTsitsiroudi avatar Jun 23 '20 09:06 NikiTsitsiroudi

I am facing same issue did you find fix?

alhad15 avatar Aug 22 '20 09:08 alhad15

This isn't necessarily an issue with the native player. It just means something went wrong during the player setup. It could be an unexpected input, some edge case we didn't take care of etc. So go through the code whilst keeping in mind the values you are passing to the player and see where these values can fail. Also if possible send me the inputs you are using. URL along with every parameter you are setting and I will try finding the issue.

KhuramKhalid avatar Aug 25 '20 15:08 KhuramKhalid