Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

MusicKit playbackTime Accuracy

Hello,

Has anyone else experienced variations in the accuracy of the playbackTime value? After a few seconds of playback, the reported time adjusts by a fraction of a second, making it difficult to calculate the actual playbackTime of the audio.

This can be recreated by playing a song in MusicKit, recording the start time of the audio, playing for at least 10-20 seconds, and then comparing the playbackTime value to one calculated using the start time of the audio. In my experience this jump occurs after about 10 seconds of playback.

Any help would be appreciated.

Thanks!

It seems others have also experienced this issue. See below

https://www.reddit.com/r/iOSProgramming/comments/105sgaj/musickit_playbacktime_accuracy/

MusicKit playbackTime Accuracy
 
 
Q