MediaPlayer Seeking problem

All your problems with Audio, Video and Images.

MediaPlayer Seeking problem

Postby ravindra_kamble » Fri Jun 04, 2010 4:55 pm

I am developing one online streaming player where it should support for the seeking also. Same time I am updating the values like Time Played and Remaining Time.

If I am not moving the seek bar, I am getting the correct values by MediaPlayer.getDuration(); and MediaPlayer.getCurrentPosition().

But when I am changing the seek bar position, the values returned by the
Code: Select all
MediaPlayer.getCurrentPosition()
. is greater than the
Code: Select all
MediaPlayer.getDuration(
)..

After changing the seek bar position, I am calling the
Code: Select all
MediaPlayer.seekTo(
) method.


Does anyone have any idea on this, what's going wrong....
ravindra_kamble
Freshman
Freshman
 
Posts: 4
Joined: Fri Jun 04, 2010 4:53 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 42 guests