|
6#
楼主 |
发表于 2016-10-25 11:12:34
|
只看该作者
你好,经过我们测试的测试,别的机型也存在这样的情况。
因为每次是在代码中对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 |
|