I have some SIP application. Until I've used audio only evrything was working correctly, I was receiving AVAudioSessionInterruptionNotification when it was necessary.
Problem appeared when video was used (receiving and sending camera feed). Once I use session with video, notification is never fired again, even if later audio is used only.
How can I fix that? I've found similar topic, but answer is to prompt and I don't fully get it. Also I do not have "camera/capture device" and "AVCaptureSession" since audio and video streaming is provided by closed third party library, but my code have to handle interruptions.
Do I have to change some property to have this notification always fired (linked topic suggest that), or should I use alternative notification.
I was digging in documentation but I've failed to find anything useful for me.
I've tried use dummy object of AVCaptureSession, but this didn't solve the problem.
Edit: Third party library had some additional crashed what exposed that they use
AVCAptureSession. I've have contact them ask to change property usesApplicationAudioSession as described in other question and "beg" them to fix it. After longer fight they agreed :).