I use MediaPlayer
in my android app to play videos. When playback is paused via mediaPlayer.pause()
method and I call mediaPlayer.seekTo(msec)
the surfaceView I display video in is not updated. It displays the frame where the video was stopped when I called pause()
method.
When I start()
it again only then it starts from the frame I specified in seekTo()
earlier.
How can I force mediaPlayer
to update surfaceView
when mediaPlayer is paused and not playing?