Linphone iOS应用程序在拨出电话BackgroundTask期间崩溃

问题描述

我基于Linphone SDK构建了自己的SIP应用。

当我打出电话时,在通话30秒后,我收到以下消息:

[BackgroundTask] Background Task 7 ("Liblinphone cpu lock"),was created over 30 seconds ago. In applications running in the background,this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
[BackgroundTask] Background Task 10 ("belle-sip transaction(0x280e88410)"),this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

然后,在30秒内(有时最多激活通话4分钟后),应用有时会崩溃。如果我尝试拨打电话时,我的应用仅响起30秒以上,就会发生崩溃。

当崩溃发生时,则该应用程序不在后台。该应用程序在所有传出过程中都处于前台状态。

该应用程序是使用Swift 5.0和iOS目标版本13.0构建的

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...