|
执行完AnyChatCoreSDK.ObjectControl(AnyChatObjectDefine.ANYCHAT_OBJECT_TYPE_AREA, AnyChatObjectDefine.ANYCHAT_INVALID_OBJECT_ID, AnyChatObjectDefine.ANYCHAT_OBJECT_CTRL_SYNCDATA, dwUserId, 0, 0, 0, "");的操作后不执行OnAnyChatObjectEvent事件,请问怎么回事。
已设置事件。
anyChatSDK = AnyChatCoreSDK.getInstance(this);
anyChatSDK.SetBaseEvent(this);
anyChatSDK.SetObjectEvent(this);
anyChatSDK.SetVideoCallEvent(this);
anyChatSDK.InitSDK(android.os.Build.VERSION.SDK_INT, 0);
AnyChatCoreSDK.SetSDKOptionInt(AnyChatDefine.BRAC_SO_LOCALVIDEO_AUTOROTATION, 1);
以下为日志:
09-18 10:49:49.807 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(815) ---------------------------AnyChat Platform Core SDK Client Log---------------------------
09-18 10:49:49.807 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(819) Load libanychatcore.so success!(V5.3 Build Time:Sep 2 2015 01:58:43)
09-18 10:49:49.807 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(820) Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
09-18 10:49:49.817 1225-1225/com.bpm.piba W/linker﹕ libmediautil_v7.so has text relocations. This is wasting memory and is a security risk. Please fix.
09-18 10:49:49.827 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(837) Load libmediautil_v7.so success!(V5.3 Build Time:Sep 2 2015 01:59:53)
09-18 10:49:49.837 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(850) Load libmediashow.so success!(V5.3 Build Time:Sep 2 2015 01:59:39)
09-18 10:49:49.847 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(861) Load libmediacore.so success!(V5.3 Build Time:Sep 2 2015 01:59:41)
09-18 10:49:49.847 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(862) NX507J(nubia) msm8974 4.4.2
09-18 10:49:49.847 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:49(864) Invoke Connect(183.62.219.159,8906)=0
--------- beginning of /dev/log/system
09-18 10:49:49.917 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:49(931) CheckClientSocketLink Connect(ip=183.62.219.159,port=8906)
09-18 10:49:50.967 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:50(975) Server version: V5.3(Build Time:2015-08-07 20:29:06, Server OS:Linux)
09-18 10:49:51.017 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:51(28) Message OnConnect(bSuccess:1, errorcode=0)
09-18 10:49:51.027 1225-1225/com.bpm.piba E/MainActivity (onConnect)﹕ true
09-18 10:49:51.037 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:51(46) Invoke LoginServer(username=��ij��)
09-18 10:49:51.107 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:51(120) Message OnLoginSystem(userid=-21,errorcode=0,username=��ij��), msg deliver worked(0)
09-18 10:49:51.107 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:51(122) Server running time: 17 days, 16 hours, 37 minutes, license mode:0
09-18 10:49:51.117 1225-1225/com.bpm.piba E/MainActivity (onLogin)﹕ 0
09-18 10:49:51.117 1225-1225/com.bpm.piba I/ANYCHAT﹕ 10:49:51(133) Object InitFlags:0x0
09-18 10:49:51.117 1225-1225/com.bpm.piba W/MainActivity (LoginMessage)﹕ ANYCHAT_OBJECT_TYPE_AREA
09-18 10:49:51.127 1225-1892/com.bpm.piba I/ANYCHAT﹕ 10:49:51(144) Connection to streaming media server successfully!(udp delay:11ms)
(时间跨度五分钟)
09-18 11:04:51.937 1225-1899/com.bpm.piba I/ANYCHAT﹕ 11:04:51(947) socket error, disconnected by peer!, bTcp(1) - userid(-1)
09-18 11:04:51.937 1225-1899/com.bpm.piba I/ANYCHAT﹕ 11:04:51(947) OnSocketClose, index(2)-errorcode(0-11), flags:0x41, bTcp(1),userid(-1), list:0
09-18 11:04:53.947 1225-1225/com.bpm.piba D/ANYCHAT﹕ ReleaseAudioRecorder
09-18 11:04:53.957 1225-1892/com.bpm.piba I/ANYCHAT﹕ 11:04:53(966) Message OnLinkClose(reason=2, dwErrorCode:105)
|
|