YMEngineer 发表于 2016-10-26 14:52 恩,这个反复进出程序卡住问题,我们在处理中,有消息第一时间通知,谢谢! |
佰锐科技-邵光清 发表于 2016-10-26 10:31 有反复进入-退出-进入-退出操作,这种操作出现概率比较大。 也存在第一次进入,然后退出,出现类似现象。 这个报错信息一般都是7、8秒左右输出 |
10:09:08.484 WARNING: [0x3abd5000] 1251: AURemoteIO::Stop: error 0x10004003 calling TerminateOwnIOThread 是否有反复进入-退出-进入-退出的操作呢?是偶然性卡死?多少秒之后控制台输出这个报错信息吗? |
佰锐科技-邵光清 发表于 2016-10-25 14:58 控制台输出消息如下,直观上看和ios 的audio有关 : 2016-10-26 10:08:37.477 SecuritiesAccountCallCenter[4549:1612736] Connection to streaming media server successfully!(udp delay:18ms) 2016-10-26 10:08:37.580 SecuritiesAccountCallCenter[4549:1612736] Message OnEnterRoom(roomid=1020,errorcode=0,siteindex=0) 2016-10-26 10:08:37.593 SecuritiesAccountCallCenter[4549:1612630] 成功{"status":true,"data":"79","result":null} 2016-10-26 10:08:38.331 SecuritiesAccountCallCenter[4549:1612823] socket error, disconnected by peer!, bTcp(1) - userid(-1) 2016-10-26 10:08:38.333 SecuritiesAccountCallCenter[4549:1612823] OnSocketClose, index(2)-errorcode(0-3), flags:0x10041, bTcp(1),userid(-1), list:0 2016-10-26 10:08:38.449 SecuritiesAccountCallCenter[4549:1612736] Init iOS audio finish(1, 16000, 16), capture size:640 2016-10-26 10:08:38.450 SecuritiesAccountCallCenter[4549:1612736] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver 2016-10-26 10:09:08.486 SecuritiesAccountCallCenter[4549:1612630] 10:09:08.484 WARNING: [0x3abd5000] 1251: AURemoteIO::Stop: error 0x10004003 calling TerminateOwnIOThread |
YMEngineer 发表于 2016-10-25 14:42 [2016-10-24 17:30:49(118)] Connection to streaming media server successfully!(udp delay:18ms) 线程卡死时,控制台输出什么信息呢? |
佰锐科技-刘洋 发表于 2016-10-25 11:40 正常情况 anychat应该会回调提示网络不好, 但是这里出现了卡住主线程无法操作界面的情况,这样程序风险太大了,有什么好的方法进行规避吗? |
YMEngineer 发表于 2016-10-25 11:12 [2016-10-24 17:31:09(329)] socket error, disconnected by peer!, bTcp(1) - userid(-1) [2016-10-24 17:31:09(333)] OnSocketClose, index(2)-errorcode(0-3), flags:0x10041, bTcp(1),userid(-1), list:0 日志中发现 你本地的网络中断了 |
YMEngineer 发表于 2016-10-25 11:12 您好,整个系统只需要一次初始化(Init)和一次资源释放(Release),所以您在第一次进入房间,然后离开房间(LeaveRoom)之后,是不需要释放SDK资源的(Release),在离开房间(LeaveRoom)之后,可以再次调用进入房间(EnterRoom)的API接口。释放SDK资源(Release)只需要在整个APP退出时才需要调用。 |
佰锐科技-刘洋 发表于 2016-10-24 18:01 你好,经过我们测试的测试,别的机型也存在这样的情况。 因为每次是在代码中对anychat进行资源释放后,再进行初始化,所以anychat的日志,只会有上面那句话。 是否是我在释放anychat时出现了错误? 能否请教下,anychat资源释放有什么需要注意的地方。工程比较 大,不可能像demo一样不释放资源。 另外在测试中出现了如下log: [2016-10-24 17:30:49(118)] Connection to streaming media server successfully!(udp delay:18ms) [2016-10-24 17:30:49(406)] Message OnEnterRoom(roomid=1020,errorcode=0,siteindex=0) [2016-10-24 17:31:09(329)] socket error, disconnected by peer!, bTcp(1) - userid(-1) [2016-10-24 17:31:09(333)] OnSocketClose, index(2)-errorcode(0-3), flags:0x10041, bTcp(1),userid(-1), list:0 anychat直接导致卡死主线程的情况,出现频率较大,这是否是anychat对SDK自身的权益保护? 完整日志如下: [2016-10-24 17:30:47(459)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2016-10-24 17:30:47(460)] Load libanychatcore.so success!(V6.1 Build Time:Jul 27 2016 21:28:54) [2016-10-24 17:30:47(462)] Load libmediautil.so success!(V6.1 Build Time:Jul 27 2016 21:29:19) [2016-10-24 17:30:47(463)] Load libmediashow.so success!(V6.1 Build Time:Jul 27 2016 21:29:14) [2016-10-24 17:30:47(464)] Load libmediacore.so success!(V6.1 Build Time:Jul 27 2016 21:29:12) [2016-10-24 17:30:47(517)] Start network engine(IPv4 mode)... [2016-10-24 17:30:47(519)] Invoke Connect(121.40.44.164,8906)=0 [2016-10-24 17:30:47(520)] Invoke Login(username:001201610241730620037)=0 [2016-10-24 17:30:47(521)] Invoke EnterRoom(roomid=1020) [2016-10-24 17:30:47(589)] Create anychatdnsserver connect:121.40.44.164(8906) [2016-10-24 17:30:48(033)] On pre-connection result, errorcode:0, anychatcoreserver, 121.40.44.164(8906, tcp:1) [2016-10-24 17:30:48(130)] CheckClientSocketLink Connect(ip=121.40.44.164,port=8906) [2016-10-24 17:30:48(415)] Server version: V6.1(Build Time:2016-08-02 13:52:22, Windows server) [2016-10-24 17:30:48(464)] Message OnConnect(bSuccess:1, errorcode=0) [2016-10-24 17:30:49(073)] Message OnLoginSystem(userid=-1316,errorcode=0,username=001201610241730620037), msg deliver worked(0) [2016-10-24 17:30:49(075)] Load libmediautil.so success!(V6.1 Build Time:Jul 27 2016 21:29:19) [2016-10-24 17:30:49(077)] Load libmediashow.so success!(V6.1 Build Time:Jul 27 2016 21:29:14) [2016-10-24 17:30:49(078)] Load libmediacore.so success!(V6.1 Build Time:Jul 27 2016 21:29:12) [2016-10-24 17:30:49(081)] Server running time: 12 days, 19 hours, 55 minutes, license mode:0 [2016-10-24 17:30:49(118)] Connection to streaming media server successfully!(udp delay:18ms) [2016-10-24 17:30:49(406)] Message OnEnterRoom(roomid=1020,errorcode=0,siteindex=0) [2016-10-24 17:31:09(329)] socket error, disconnected by peer!, bTcp(1) - userid(-1) [2016-10-24 17:31:09(333)] OnSocketClose, index(2)-errorcode(0-3), flags:0x10041, bTcp(1),userid(-1), list:0 |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-23 05:52 , Processed in 0.132633 second(s), 26 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.