When using AVPlayer with MTAudioProcessingTap, stopping at a breakpoint anywhere in the application, in any thread, will cause mediaserverd to die temporarily.
This can be observed by setting a breakpoint in the Apple sample application. [AudioTapProcessor]
https://developer.apple.com/library/ios/samplecode/AudioTapProcessor/Introduction/Intro.html
For example, you can set it in the updateCenterFrequencySliderValue: method in MYSettingsViewController.m. (I also have an even smaller example application, which I can publish if it is useful.)
This error message usually appears only in the device console log (displayed in Organizer), but sometimes also appears in the application’s debug log:
<Error>: 17:48:04.833 ERROR: [0x28c0000] 75: AudioQueueProcessingTapGetSourceAudio posting message to kill mediaserverd (45)
Playback usually resumes a few seconds after the breakpoint continues. AVAudioSessionMediaServicesWereResetNotification not hosted.
Is this the expected behavior, or does this indicate a problem? Is there any way to avoid this? If you use MTAudioProcessingTap and regularly come across this, is this a problem for the development or debugging process?
(I'm also interested in any feedback on whether MTAudioProcessingTap is ready for prime time in general, as it is a relatively new and slightly documented component.)
Thanks in advance!
ios avfoundation
tracy
source share