|
一直都是0。
android的日志如下:
[2014-05-04 16:13:15(962)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-05-04 16:13:15(964)] Load libanychatcore.so success!(V4.9 Build Time:Mar 4 2014 08:22:47)
[2014-05-04 16:13:15(964)] Android OS SDK Version:17, Support ARMv7:2, Support Neon:4
[2014-05-04 16:13:15(979)] Load libmediautil_v7.so success!(V4.9 Build Time:Mar 4 2014 02:44:38)
[2014-05-04 16:13:15(994)] Load libmediashow_4.0.so success!(V4.9 Build Time:Mar 4 2014 02:43:57)
[2014-05-04 16:13:16(003)] Load libmediacore_4.2.so success!(V4.9 Build Time:Mar 4 2014 02:44:26)
[2014-05-04 16:13:16(014)] CPU:2439.94 MIPS, Hardware:MT8125
[2014-05-04 16:13:16(014)] Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-05-04 16:13:16(014)] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-05-04 16:13:16(014)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-05-04 16:13:16(014)] Invoke SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2014-05-04 16:13:16(014)] Invoke BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-05-04 16:13:16(015)] Invoke BRAC_Connect(192.168.16.134,8906)=0
[2014-05-04 16:13:16(033)] Invoke LoginServer(username=1)
[2014-05-04 16:13:16(033)] Invoke EnterRoom(roomid=1)
[2014-05-04 16:13:16(083)] CheckClientSocketLink Connect(ip=192.168.16.134,port=8906)
[2014-05-04 16:13:16(318)] Server version: V4.9(Build Time:2014-03-26 21:07:58, Server OS:Windows)
[2014-05-04 16:13:16(360)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-05-04 16:13:16(598)] Message OnLoginSystem(userid=1,errorcode=0,username=1), msg deliver worked(0)
[2014-05-04 16:13:16(609)] Connection to streaming media server successfully!(udp delay:5ms)
[2014-05-04 16:13:16(681)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2014-05-04 16:13:16(681)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-05-04 16:13:16(681)] Message OnReceiveOnlineUser(count=1,roomid=1)
[2014-05-04 16:13:16(703)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2014-05-04 16:13:16(748)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-05-04 16:13:16(748)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-05-04 16:13:17(019)] Audio FX Status: VAD:0, NS:1, AGC:1, AEC:1
[2014-05-04 16:13:53(119)] Message OnUserEnterRoom(userid=2,nickname=2,siteindex=1)
[2014-05-04 16:13:53(209)] Message OnP2PConnectState(userid=2, state=1)
[2014-05-04 16:13:53(956)] Message OnP2PConnectState(userid=2, state=3)
[2014-05-04 16:13:57(386)] Invoke UserSpeakControl(userid=2,bOpen=1)
[2014-05-04 16:13:57(386)] Invoke StreamRecordCtrl(-1, 1, 0x7, 0)=0
[2014-05-04 16:13:57(391)] On Remote UserSpeakControl(dwUserId:2, bOpen:1)
[2014-05-04 16:14:03(723)] socket error, disconnected by peer!, bTcp(1) - userid(2)
[2014-05-04 16:14:03(726)] Message OnP2PConnectState(userid=2, state=2)
[2014-05-04 16:14:03(727)] Message OnUserLeaveRoom(userid=2,siteindex=1) |
|