Closed anonym24 closed 7 years ago
onError is being called:
MediaPlayer: onError -2147483648 0
@Override
public boolean onError(IBasicMediaPlayer mp, int what, int extra) {
Log.i(TAG, "MediaPlayer: onError " + " " + what + " " + extra);
return false;
}
I changed mMediaPlayer.prepareAsync()
tomMediaPlayer.prepare();
and it seems working ok now
So we aren't supposed to use prepareAsync
with openslmediaplayer
?
Hello.
I 'm trying to play audiofile using openslmediaplayer and The minimal example code snippet: https://openslmediaplayer.h6ah4i.com/
But it can't play any file and gives me the next errors:
My phone: Xiaomi Redmi 4 Prime 6.0.1