Music pauses and sometimes makes screeching sounds after 15 seconds using applicationQueuePlayer

Hello,

I have an app that uses the MediaPlayer framework (applicationQueuePlayer specifically) and since the introduction of iOS 14.6 and Lossless audio, some users have been reporting that sometimes they cannot play a song past 15 seconds without playback either pausing or the app making a screeching noise. As far as I knew, this was supposed to be fixed in 14.7, but users running 14.7.1 are reporting it to me whether Lossless is on or off. The problem seems to be intermittent -- there for one user one day and gone the next, though sometimes it sticks around. I am pretty much never able to reproduce it for myself.

My code to load and play the player is pretty simple and has not changed since well before this issue started cropping up. I run setQueue and set the queue with either a descriptor of storeIDs for Apple Music Items or an MPMediaItemCollection for library items, then call Play.

Is there anything I can do about this issue? Are you guys still working on this server side? I need to continue supporting users on older OSes so I am not yet able to use the new MusicKit for Swift player. I don't know if it's fixed there or not.

Thanks! (Tagging in @JoeKun)

Answered by Frameworks Engineer in 704221022

Hello,

As noted a few months ago, we have included a change for iOS 15 which addresses most of the causes of this issue.

I just wanted to update this thread with information from the ticket on Feedback Assistant: FB9558364.

It looks like we haven't received any new reports of this issue in the last couple of months. So we believe this specific issue has actually been fully resolved with the improvements made in iOS 15.

Best regards,

FB9558364

Hello @talking small,

Thank you for your feedback about this issue with music stopping after 15 seconds.

We are aware of issues like this one, and we have included a change for iOS 15 which addresses most of the causes of this issue. We have also recently found that this change going into iOS 15 doesn't quite address those issues in all cases, and we are further investigating that.

Additionally, we looked at your ticket filed on Feedback Assistant, and this seems to be a different issue than the one we are still tracking down. So we'll keep looking for the root cause of your issue based on the sysdiagnose in your ticket, and we'll try to address it as well.

Thanks again for your feedback, and especially for taking the time to file a ticket with a sysdiagnose. This is very helpful to us.

Best regards,

Accepted Answer

Hello,

As noted a few months ago, we have included a change for iOS 15 which addresses most of the causes of this issue.

I just wanted to update this thread with information from the ticket on Feedback Assistant: FB9558364.

It looks like we haven't received any new reports of this issue in the last couple of months. So we believe this specific issue has actually been fully resolved with the improvements made in iOS 15.

Best regards,

Music pauses and sometimes makes screeching sounds after 15 seconds using applicationQueuePlayer
 
 
Q