Disable audio recording notification while applica

2020-08-01 16:43发布

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?

1条回答
Melony?
2楼-- · 2020-08-01 17:17

Remove the audio option from info plist for UIBackgroundModes

Example:

<key>UIBackgroundModes</key>
    <string>voip</string>
查看更多
登录 后发表回答