MPMusicPlayerController.applicationQueuePlayer bugs in iOS 13.4

你离开我真会死。 提交于 2020-05-16 03:10:07

问题


I submitted Feedback about this in Feedback Assistant already, but figured I'd post here too -- as of iOS 13.4, I have noticed various bugs in the MediaPlayer framework, specifically with the applicationQueuePlayer and applicationMusicPlayer.

The first is that on app launch when it initializes, it now throws this error:

[SDKPlayback] applicationQueuePlayer _establishConnectionIfNeeded timeout [ping did not pong]

That error is followed by this one, when prepareToPlay() is called:

Error Domain=MPMusicPlayerControllerErrorDomain Code=6 "Failed to prepare to play" UserInfo={NSDebugDescription=Failed to prepare to play}

Eventually after calling prepareToPlay enough times it'll get its head on straight and start playing the content, but even then I'm finding I have to call play() or pause() several times for it to do so reliably.

Anyone else seeing this in their apps post-13.4?

来源:https://stackoverflow.com/questions/60887368/mpmusicplayercontroller-applicationqueueplayer-bugs-in-ios-13-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!