Still struggling with this. Any ideas? On Sunday, November 2, 2014 10:27:19 PM UTC-8, twiggle wrote: > I need to synchronize events to an mp4/aac file. I'm using MediaPlayer for > playback and checking elapsed time from start in order to determine when it > is time for successive events. I also periodically synchronize the elapsed > time with MediaPlayer getCurrentPosition. > > > From what I'm seeing, accuracy of getCurrentPosition can vary significantly - > i.e. I'm finding a case now (Xperia M2 on 4.4.2) where what I actually hear > is about 800 ms delayed from what is reported by getCurrentPosition, but on a > different device and OS version (Nexus 7 on 4.2) it's right on. > > > What could be causing the inaccuracy? Is there anyway to calibrate to > eliminate it? If not, is there a better way to synchronize events to mp4/aac > files?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

