发起音频通话时,有时APP会崩溃

问题描述

发起音频通话时,有时会崩溃,目测应该是jni的问题吧?APP要急着上线了,音视频方面老出问题,急啊!对了,这个问题在环信的Demo app上也会出现。该如何解决啊?求官方大神啊~

解决方案

视频时也会出现类似问题。Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 18991 (Thread-5020)
解决方案二:
是2.2.2的uidemo? 有么有完整的打印信息?这边测试下 没有问题。
解决方案三:
09-13 19:54:36.487: E/ShorrLog(9181): 掉线了09-13 19:54:36.487: E/ShorrLog(9181): 掉线了error09-13 19:54:36.712: E/SMACK-Voe(9181): enter JNI_OnLoad09-13 19:54:37.185: E/(9181): Device driver API match09-13 19:54:37.185: E/(9181): Device driver API version: 40109-13 19:54:37.185: E/(9181): User space API version: 401 09-13 19:54:37.185: E/(9181): mali: REVISION=Linux-r4p0-00rel0 BUILD_DATE=Fri Jul 18 22:37:22 CST 2014 09-13 19:54:38.064: E/ShorrLog(9181): 上线了09-13 19:54:38.328: E/ShorrLog(9181): 上线了09-13 19:54:38.331: E/ShorrLog(9181): 上线了09-13 19:55:24.288: E/MediaPlayer(9181): Should have subtitle controller already set09-13 19:55:24.298: E/MediaPlayer(9181): Should have subtitle controller already set09-13 19:55:28.198: E/SMACK-Voe(9181): create voeEngine ok09-13 19:55:28.198: E/SMACK-Voe(9181): line:244 at funtion :VoeEngine_Create,last error:009-13 19:55:28.335: E/SMACK-Voe(9181): line:303 at funtion :VoeBase_Init,last error:009-13 19:55:28.335: E/SMACK-Voe(9181): m_base init return value:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetNSStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:714 at funtion :VoeApm_SetNSStatus,last error:0,ret:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetECStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:921 at funtion :VoeApm_SetECStatus,last error:0,ret:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetAGCStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:799 at funtion :VoeApm_SetAGCStatus,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): line:358 at funtion :VoeBase_CreateChannel,last error:009-13 19:55:28.339: E/SMACK-Voe(9181): create channel:009-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetRxNSStatus return:009-13 19:55:28.339: E/SMACK-Voe(9181): line:759 at funtion :VoeApm_SetRxNSStatus,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetAecmMode return:009-13 19:55:28.339: E/SMACK-Voe(9181): line:880 at funtion :VoeApm_SetAecmMode,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): dest  channel:0,port:48309,ip:192.168.191.2,ret value:009-13 19:55:28.339: E/SMACK-Voe(9181): line:420 at funtion :VoeBase_SetSendDestination,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): total audio codec nums:2009-13 19:55:28.339: E/SMACK-Voe(9181): codec[0]:ISAC09-13 19:55:28.339: E/SMACK-Voe(9181): codec[1]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[2]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[3]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[4]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[5]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[6]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[7]:PCMU09-13 19:55:28.339: E/SMACK-Voe(9181): codec[8]:PCMA09-13 19:55:28.339: E/SMACK-Voe(9181): codec[9]:PCMU09-13 19:55:28.339: E/SMACK-Voe(9181): codec[10]:PCMA09-13 19:55:28.339: E/SMACK-Voe(9181): codec[11]:ILBC09-13 19:55:28.339: E/SMACK-Voe(9181): codec[12]:G72209-13 19:55:28.339: E/SMACK-Voe(9181): codec[13]:G72209-13 19:55:28.339: E/SMACK-Voe(9181): codec[14]:opus09-13 19:55:28.339: E/SMACK-Voe(9181): codec[15]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[16]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[17]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[18]:telephone-event09-13 19:55:28.339: E/SMACK-Voe(9181): codec[19]:red09-13 19:55:28.339: E/SMACK-Voe(9181): find opus at index:1409-13 19:55:28.340: E/SMACK-Voe(9181): set codec:opus for channel,0,retVal:009-13 19:55:28.340: E/SMACK-Voe(9181): line:631 at funtion :VoeCodec_SetSendCodec,last error:0,ret:009-13 19:55:28.340: E/SMACK-Voe(9181): VoeCodec_SetVADStatus return:009-13 19:55:28.340: E/SMACK-Voe(9181): line:668 at funtion :VoeCodec_SetVADStatus,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): playout channel:0,ret value:009-13 19:55:28.346: E/SMACK-Voe(9181): line:467 at funtion :VoeBase_StartPlayout,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): local port = 46168 in VoeBase_SetLocalReceiver09-13 19:55:28.346: E/SMACK-Voe(9181): line:402 at funtion :VoeBase_SetLocalReceiver,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): listen channel:0,ret value:009-13 19:55:28.346: E/SMACK-Voe(9181): line:451 at funtion :VoeBase_StartListen,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,channelId:-1,voe engine index:0 in VoeClient_Register09-13 19:55:28.357: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_FullDuplexSpeech09-13 19:55:28.357: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_FullDuplexSpeech09-13 19:55:28.376: E/SMACK-Voe(9181): send channel:0,ret value:009-13 19:55:28.376: E/SMACK-Voe(9181): line:497 at funtion :VoeBase_StartSend,last error:0,ret:009-13 19:55:28.376: E/SMACK-Voe(9181): VoeClient_FullDuplexSpeech success09-13 19:55:37.094: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Stop09-13 19:55:37.094: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Stop09-13 19:55:37.176: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:009-13 19:55:37.176: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:009-13 19:55:38.180: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Release09-13 19:55:38.180: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Release09-13 19:55:38.180: E/SMACK-Voe(9181): to stop Heart Beat thread09-13 19:55:38.180: E/SMACK-Voe(9181): have stopped Heart Beat thread09-13 19:55:38.181: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:009-13 19:55:38.181: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopPlayout channel:0,ret value:009-13 19:55:38.302: E/SMACK-Voe(9181): line:538 at funtion :VoeBase_StopPlayout,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): line:178,last error:009-13 19:55:38.302: E/SMACK-Voe(9181): line:179,last error:009-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopListen channel:0,ret value:009-13 19:55:38.302: E/SMACK-Voe(9181): line:522 at funtion :VoeBase_StopListen,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): line:181,last error:009-13 19:55:38.336: E/SMACK-Voe(9181): line:386 at funtion :VoeBase_DeleteChannel,last error:0,ret:009-13 19:55:38.336: E/SMACK-Voe(9181): line:183,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): line:324 at funtion :VoeBase_Terminate,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): line:185,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): to release m_base09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_codec09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_file09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_netw09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_apm09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_volume09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_hardware09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_rtp_rtcp09-13 19:55:38.370: E/SMACK-Voe(9181): to call VoiceEngine::SetAndroidObjects(NULL, NULL, NULL);09-13 19:55:38.370: E/SMACK-Voe(9181): have  called VoiceEngine::SetAndroidObjects(NULL, NULL, NULL);09-13 19:55:38.370: E/SMACK-Voe(9181): quit VoeClient_Release09-13 19:56:16.536: A/libc(9181): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 9348 (Smack Listener )09-13 19:56:19.945: E/ShorrLog(9763): 上线了09-13 19:56:19.946: E/ShorrLog(9763): 上线了09-13 19:56:20.258: E/(9763): Device driver API match09-13 19:56:20.258: E/(9763): Device driver API version: 40109-13 19:56:20.258: E/(9763): User space API version: 401 09-13 19:56:20.258: E/(9763): mali: REVISION=Linux-r4p0-00rel0 BUILD_DATE=Fri Jul 18 22:37:22 CST 2014
解决方案四:
如果是uidemo也是这个问题 您可以换一个网络试试
解决方案五:
刚才又用2.2.2版本的UIdemo试了几次,还真是屡试不爽啊,还是出现了RT图片中的log。真愁人~
解决方案六:
09-14 15:34:48.233: E/NativeCrypto(25026): ssl=0x76878bf8 cert_verify_callback x509_store_ctx=0x76f6c940 arg=0x009-14 15:34:48.233: E/NativeCrypto(25026): ssl=0x76878bf8 cert_verify_callback calling verifyCertificateChain authMethod=RSA09-14 15:34:55.411: A/libc(25026): Fatal signal 11 (SIGSEGV) at 0x01477020 (code=1), thread 25108 (Smack Listener ) 报出这个错误后,就停在这个拨号界面了,怎么按都没有反应了,还响着报号音,想关都关不掉,只能等到系统回收,才不响了,要响好一段时间
解决方案七:
现在有最新的 版本了 2.2.3  改了许多实时视频的东西 您这边可以用2.2.3uidemo试试看 。

时间: 2024-08-26 09:16:12

发起音频通话时,有时APP会崩溃的相关文章

钉钉APP剩余通话时长查询方法详解

给各位钉钉软件的使用者们来详细的解析分享一下剩余通话时长查询的方法. 方法分享:   打开钉钉APP后,在"我的功能"中,即可看到本月还可以免费拨打多少分钟的电话. 好了,以上的信息就是小编给各位钉钉的这一款软件的使用者们带来的详细的剩余通话时长查询的方法解析分享的全部内容了,各位看到这里的软件使用者们,小编相信你们现在那是非常的清楚了查询方法了吧,那么大家就快去按照小编上面带来的方法自己去查询自己的剩余通话时长吧.

车载-新手求教,android通话时怎么让导航之类的软件不出声音

问题描述 新手求教,android通话时怎么让导航之类的软件不出声音 现在在做一个车载项目,蓝牙通话具体要怎么实现在通话中导航的声音不出来,系统自带的通话功能好像是有这个实现的,但是现在的项目用的是一起在wince下面一样的AT指令的方式控制蓝牙,声音控制估计是要在app这边做

发起音频视频通话,结束后为什么没有发送记录?

问题描述 最新版的iosSDK(3.1.1) 我发起音频视频通话,结束后为什么没有发送记录啊.就是通话多少秒..等等.  安卓那边有. 解决方案 那个是自己本地插入的,3.1.1的demo中没写了,可以自己实现下,在callviewcontroller中发送通知,在chatviewcontroller中设置插入文本消息.

验证码-大侠,mob短信验证求助,一点击这个页面APP就崩溃

问题描述 大侠,mob短信验证求助,一点击这个页面APP就崩溃 import android.app.Activity; import cn.smssdk.EventHandler; import cn.smssdk.SMSSDK; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Te

谷歌浏览器 调试台-求教各位大虾,谷歌浏览器的这个调试台是怎么设置出来的,这个页面时移动app的html页面

问题描述 求教各位大虾,谷歌浏览器的这个调试台是怎么设置出来的,这个页面时移动app的html页面 如题:求教各位大虾,谷歌浏览器的这个调试台是怎么设置出来的,这个页面时移动app的html页面 解决方案 你说的是右键审查元素吧,或者有的叫检查.打开后右上角有个DOCK TO WINDOW,能够选择调试台到邮编,然后就能调手机端的html页面, 也可以选择不同的手机大小,但是不是很准啊,最后还是用真机调试

关于如何在java客户端通过webrtc实现音频通话

问题描述 关于如何在java客户端通过webrtc实现音频通话 求大神指教! 现在服务是好的,PC客户端需要通过webrtc与服务通讯,实现音频通话,求支撑库和DEMO. 网上都是需要自己下载编译,有没有拿来主义. 不要浏览器的. 当然,如果你能让它在java客户端运行也可以. 解决方案 http://www.cnblogs.com/lingyunhu/ 解决方案二: https://www.kurento.org/docs/5.0.3/tutorials/java/tutorial-1-hel

使用pjsip如何发起会议通话

问题描述 使用pjsip如何发起会议通话 最近在研究pjsip,发现点对点的通话很容易实现,但是一直找不到发起多人会话的api,有用过的朋友么,求助! 解决方案 如何使用foxmail进行新建事务和发起会议

央视曝光海南移动乱收费 通话时长被不规则分割

7月4日,央视综合频道<新闻20分>栏目今日曝光了海南移动乱收话费现象,央视称其为"有'规则'分割,无理由扣费". 以下为央视节目文字实录: 记者调查:大家都知道"四舍五入",但是如果商家卖100块钱的东西给你,非让你分开来按45元和55元付费,再用"四舍五入"的规则来凑个整 儿,让您付一个50元和一个60元,您一定211.html">觉得不合理,但这样不合理的事儿海南移动的一位手机用户黄先生就这么被收费了. 海南移动

谷歌语音搜索的“免提模式”是什么意思,和通话时的免提有区别吗

问题描述 谷歌语音搜索的"免提模式"是什么意思,和通话时的免提有区别吗 发现谷歌语音搜索,语音输出的选项中有一个"仅在免提模式下"的选项,这项是什么意思,和通话时的免提有区别吗,是所有的android设备都支持"免提模式",还是有条件的啊?