|
刚刚,我又测试了一下。看到工程下有个log文件-BRAnyChatCore.log,打开之后,当使用参数 AnyChatObjectDefine.ANYCHAT_INVALID_OBJECT_ID时,日志如下:
[2016-07-06 10:02:40(129)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-07-06 10:02:40(130)] Load BRAnyChatCore.dll success!(V6.1 Build Time:Jun 30 2016 14:51:57)
[2016-07-06 10:02:40(132)] Load BRMiscUtil.dll success!(V6.1 Build Time:Jun 30 2016 14:54:40)
[2016-07-06 10:02:40(168)] Load BRMediaUtil.dll success!(V6.1 Build Time:Jun 30 2016 14:50:59)
[2016-07-06 10:02:40(170)] Load BRMediaShow.dll success!(V6.1 Build Time:Jun 30 2016 14:54:53)
[2016-07-06 10:02:40(174)] Load BRMediaCore.dll success!(V6.1 Build Time:Jun 30 2016 14:55:11)
[2016-07-06 10:02:40(207)] Audio capture device supported:
[2016-07-06 10:02:40(208)] 1-麦克风 (Realtek High Definition Au
[2016-07-06 10:02:42(377)] Start network engine(IPv4 mode)...
[2016-07-06 10:02:42(380)] Invoke Connect(127.0.0.1,8906)=0
[2016-07-06 10:02:42(382)] Invoke Login(username:java)=0
[2016-07-06 10:02:42(454)] Create anychatdnsserver connect:127.0.0.1(8906)
[2016-07-06 10:02:42(547)] On pre-connection result, errorcode:0, anychatcoreserver, 127.0.0.1(8906, tcp:1)
[2016-07-06 10:02:42(559)] CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
[2016-07-06 10:02:42(701)] Server version: V6.1(Build Time:2016-06-30 14:55:59, Windows server)
[2016-07-06 10:02:42(716)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-07-06 10:02:42(787)] Message OnLoginSystem(userid=-13,errorcode=0,username=java), msg deliver worked(0)
[2016-07-06 10:02:42(789)] Server running time: 0 days, 0 hours, 48 minutes, license mode:0
[2016-07-06 10:02:42(832)] Connection to streaming media server successfully!(udp delay:15ms)
[2016-07-06 10:02:42(844)] Area(10002) Object Event, unknow event:2, dwParam1:-13
当使用其他参数时日志如下:
[2016-07-06 10:01:32(858)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-07-06 10:01:32(859)] Load BRAnyChatCore.dll success!(V6.1 Build Time:Jun 30 2016 14:51:57)
[2016-07-06 10:01:32(861)] Load BRMiscUtil.dll success!(V6.1 Build Time:Jun 30 2016 14:54:40)
[2016-07-06 10:01:32(899)] Load BRMediaUtil.dll success!(V6.1 Build Time:Jun 30 2016 14:50:59)
[2016-07-06 10:01:32(901)] Load BRMediaShow.dll success!(V6.1 Build Time:Jun 30 2016 14:54:53)
[2016-07-06 10:01:32(906)] Load BRMediaCore.dll success!(V6.1 Build Time:Jun 30 2016 14:55:11)
[2016-07-06 10:01:32(942)] Audio capture device supported:
[2016-07-06 10:01:32(943)] 1-麦克风 (Realtek High Definition Au
[2016-07-06 10:01:34(962)] Start network engine(IPv4 mode)...
[2016-07-06 10:01:34(964)] Invoke Connect(127.0.0.1,8906)=0
[2016-07-06 10:01:34(966)] Invoke Login(username:java)=0
[2016-07-06 10:01:35(074)] Create anychatdnsserver connect:127.0.0.1(8906)
[2016-07-06 10:01:35(166)] On pre-connection result, errorcode:0, anychatcoreserver, 127.0.0.1(8906, tcp:1)
[2016-07-06 10:01:35(178)] CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
[2016-07-06 10:01:35(330)] Server version: V6.1(Build Time:2016-06-30 14:55:59, Windows server)
[2016-07-06 10:01:35(344)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-07-06 10:01:35(366)] Message OnLoginSystem(userid=-12,errorcode=0,username=java), msg deliver worked(0)
[2016-07-06 10:01:35(368)] Server running time: 0 days, 0 hours, 47 minutes, license mode:0
[2016-07-06 10:01:35(411)] Connection to streaming media server successfully!(udp delay:23ms)
两个日志的区别在于,第一个日志多了最后一行内容。看起来像是无法识别的event。 |
|