I played with AVPlayer and its subclass AVQueuePlayer (and the MPMediaItem s array), and found that the latter works better with gapless albums, but doesn't seem to complete the task completely.
There is a very noticeable pause between the current and the next track when using the AVPlayer replaceCurrentItemWithPlayerItem method. But using the AVQueuePlayer advanceToNextItem method, the gap is much narrower.
The only parameters are these two classes, since I am dealing with AVPlayerItem , which contain the URLs of assets from items in the iTunes music library. Then the question arises: is it possible to get seamless playback using the iOS SDK?
sooper
source share