In my project, where we use pjsip2 to receive streaming audio from a shared server.
The app is meant to only receive streaming audio, not record. However even though we have disabled the mic in out code we still get a notification of the app recording while it is in the background (top bar flashing red with text: " (recording)").
How can I disable the recording notification while our app is running in the background?
Remove the audio option from info plist for UIBackgroundModes
Example:
<key>UIBackgroundModes</key>
<string>voip</string>
来源:https://stackoverflow.com/questions/12456563/disable-audio-recording-notification-while-application-is-in-background-on-ios-s