MTAudioProcessingTap kills mediaserverd at breakpoints

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!

+7
ios avfoundation
source share

No one has answered this question yet.

See related questions:

nine
Xcode4 debugger always interrupts basically
7
AVCam project crashes on iPad
6
iOS 10 downloads encrypted HLS stream
4
Accessibility: moving the voice in focus to the first cell in the View table in the UITableViewController
2
Severe Apple Reachability Source Error? (ReachabilityForLocalWiFi)
one
Mono signal panning with MultiChannelMixer & MTAudioProcessingTap
one
What is the use of LOGGING_FACILITY compared to NSLog in iOS?
0
Not sure how to configure the viewer and connect using IBOutlet code.
0
Should all prototype cells have a class?
0
AVPlayer does not play AVComposition with more than two clips

All Articles