Re: AVAudioSessionMediaServicesWereLostNotification in iOS 7?
Re: AVAudioSessionMediaServicesWereLostNotification in iOS 7?
- Subject: Re: AVAudioSessionMediaServicesWereLostNotification in iOS 7?
- From: Jan <email@hidden>
- Date: Wed, 09 Oct 2013 15:59:02 +0200
> Anyone know what the likely delay is between these two notifications? milliseconds? A few seconds? A minute?
You could try quitting the "mediaserverd" process via Instruments (Activity Monitor) and see, but not sure if that would accurately reflect the delay in a real-world case. My guess would be no more than around a second, probably less.
Am 06.10.2013 um 03:12 schrieb Dean Reyburn <email@hidden>:
> My app already handles AVAudioSessionMediaServicesWereResetNotification introduced in iOS 6.
>
> But in iOS 7 we have a new one:
>
> AVAudioSessionMediaServicesWereLostNotification NS_AVAILABLE_IOS(7_0);
>
> I've read technote QA1749. https://developer.apple.com/library/ios/qa/qa1749/_index.html
>
> "...an application may choose to also register for the earlier notification -- AVAudioSessionMediaServicesWereLostNotification -- in order to deal with user events that happen during the interval between the two notifications."
>
> If an app handles both, then I assume the app should react gracefully (change the user display?), then wait for an inevitable AVAudioSessionMediaServicesWereResetNotification.
>
> Anyone know what the likely delay is between these two notifications? milliseconds? A few seconds? A minute?
>
> Thanks in advance
>
> -Dean
>
> 1-888-SOFT-440 or 1-888-763-8440
> Reyburn Piano Service, Inc.
> http://www.reyburn.com
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden