Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I experienced the same issue ( audio playback stops in the background occasionally because of the mediaserverd crash )... I tried to do all the calls/properties to the AVQueuePlayer in the main thread but it didnt solved the issue completely.</p> <p>So I have opened a TSI at developers.apple.com and here the answer:</p> <blockquote> <p>1) What can cause this crash, is it something in our code, or it's know bug and it's going to be fixed anytime soon?>> Media Server crashes do happen and when they do we rely on developer reports to track down issues and fix them. AVFoundation and queue player sits on a large amount of other AV and Core Audio code to do what it does and therefore for us to analyze what's causing this specific crash with the media server we require a bug report with a reproducible test case. I've not seen this crash log before personally but other users have reported this and it appears related to 5.1. I do suggest filing a bug at as soon as possible documenting your specific case of this issue. You can send me the bug ID and I can escalate it to our AVFoundation and Core Audio engineering teams.</p> <p>2) What can i do (in addition to what i am doing now) to prevent iOS from freezing the app in this case? 3) How can i get notification if mediaserverd has crashed, and it's relaunching?>></p> <p>I wrote a Q&amp;A regarding the general way to handle crashes with the media server. You may listen for the kAudioSessionProperty_ServerDied property. <a href="https://developer.apple.com/library/ios/#qa/qa1749/_index.html" rel="nofollow">https://developer.apple.com/library/ios/#qa/qa1749/_index.html</a> Let me stress this is a bandaid and any crashes are considered bugs on our side and we'd like to fix them as soon as possible. Please file a bug as soon as you can.</p> <p>thank you. regards, edward</p> <p>Edward A. :: Audio &amp; Video Engineer Developer Technical Support Worldwide Developer Relations Apple Inc.*</p> </blockquote> <p>Hope this helps... or at least stops you from breaking your head on how to fix this :-)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload