Mediaplayer Seekto Doesn't Work
If I call seekTo before start, an audio starts from beginning. Is it possible to start playing audio from a specific point? Thanks!
Solution 1:
It seems to be a bug on Android platform, and so far it hasn't been fixed. See this issue here.
Solution 2:
I've just experienced the same issue. The solution was to use MediaPlayer.OnSeekCompleteListener
.
However in my case there weren't any problems with calling seekTo
before start
if the audio file was relatively short, but if it became longer then it seemed that starting the playback occurred earlier than seekTo
was finished.
Post a Comment for "Mediaplayer Seekto Doesn't Work"