You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading the mediaPlayer.getTime() within UpdateRunnable every 0.1 second:
executorService.scheduleAtFixedRate(new UpdateRunnable(player), 0L, 100L, TimeUnit.MILLISECONDS);
as you can see I have the same reading every 300/200 ms instead of different reading every 100 ms. is there anything i can do to get more accurate data. I'm displaying the time in fraction of second.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I'm reading the mediaPlayer.getTime() within UpdateRunnable every 0.1 second:
executorService.scheduleAtFixedRate(new UpdateRunnable(player), 0L, 100L, TimeUnit.MILLISECONDS);
The results for example:
1114240
1114240
1114493
1114493
1114493
1114746
1114746
1114999
1114999
1114999
1115271
1115271
1115524
1115524
1115524
1115777
1115777
as you can see I have the same reading every 300/200 ms instead of different reading every 100 ms. is there anything i can do to get more accurate data. I'm displaying the time in fraction of second.
Thanks
The text was updated successfully, but these errors were encountered: