AnyChat技术支持论坛

标题: android端接收到web发来的视频文件默认后缀多了.tmp [打印本页]

作者: 梦十    时间: 2014-9-15 20:40
标题: android端接收到web发来的视频文件默认后缀多了.tmp
android端接收到web发来的视频和txt文件后,文件后缀多了.tmp,怎么设置接收到去掉tmp后缀?

作者: admin    时间: 2014-9-15 20:43
您好,建议升级到最新版本的SDK:http://www.anychat.cn/download.html,有针对文件传输部分进行优化。

另外有关.tmp后缀,通常是文件还没有传输完成,中间的临时文件才有tmp后缀,传输完成之后AnyChat会自动将.tmp后缀去掉。


作者: 梦十    时间: 2014-9-15 21:16
好的,谢谢了
作者: gguofei    时间: 2014-10-30 15:35
admin 发表于 2014-9-15 20:43
您好,建议升级到最新版本的SDK:http://www.anychat.cn/download.html,有针对文件传输部分进行优化。

...

你好,我前几天调试的时候,接收的文件是正常的,今天接收到的文件就出现多了.tmp.代码没有变
作者: admin    时间: 2014-10-30 15:44
您好,请上传两边的日志文件我们帮您分析一下,谢谢。
作者: gguofei    时间: 2014-10-30 15:59
pc端

[2014-10-30 15:57:57(031)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-10-30 15:57:57(031)]        Load BRAnyChatCore.dll success!(V5.1 Build Time:Sep 10 2014 10:00:44)
[2014-10-30 15:57:57(031)]        Load BRMiscUtil.dll success!(V5.1 Build Time:Sep 10 2014 09:59:05)
[2014-10-30 15:57:57(062)]        Load BRMediaUtil.dll success!(V5.1 Build Time:Sep 10 2014 09:59:08)
[2014-10-30 15:57:57(062)]        Load BRMediaShow.dll success!(V5.1 Build Time:Sep 10 2014 09:59:09)
[2014-10-30 15:57:57(078)]        Load BRMediaCore.dll success!(V5.1 Build Time:Sep 10 2014 09:59:30)
[2014-10-30 15:57:57(156)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2014-10-30 15:57:57(156)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,1)
[2014-10-30 15:57:57(156)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2014-10-30 15:57:57(156)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-10-30 15:57:57(156)]        Invoke        AudioGetVolume(device:1, dwVolume:50)=0
[2014-10-30 15:57:57(156)]        Invoke        AudioGetVolume(device:0, dwVolume:50)=0
[2014-10-30 15:57:58(484)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2014-10-30 15:57:58(484)]        Invoke        LoginServer(username=AnyChat51)
[2014-10-30 15:57:58(578)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2014-10-30 15:57:58(937)]        Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
[2014-10-30 15:57:59(093)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-10-30 15:57:59(437)]        Message        OnLoginSystem(userid=16287,errorcode=0,username=AnyChat51), msg deliver worked(1)
[2014-10-30 15:57:59(531)]        Connection to streaming media server successfully!(udp delay:47ms)
[2014-10-30 15:58:01(343)]        Invoke        EnterRoom(roomid=1)
[2014-10-30 15:58:01(812)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=3)
[2014-10-30 15:58:01(812)]        Message        OnReceiveOnlineUser(count=5,roomid=1)
[2014-10-30 15:58:01(812)]        Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x160da6, l:29, t:326, r:209, b:461)
[2014-10-30 15:58:01(812)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-10-30 15:58:01(812)]        WaveIn Audio Capture Driver(Realtek HD Audio Input)
[2014-10-30 15:58:01(812)]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2014-10-30 15:58:01(812)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-10-30 15:58:01(828)]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2014-10-30 15:58:01(843)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-10-30 15:58:01(859)]        Invoke        BRAC_SetVideoPos(dwUserId:16273, hWnd:0x160da6, l:213, t:326, r:389, b:464)
[2014-10-30 15:58:01(859)]        Invoke        UserCameraControl(userid=16273,bOpen=1)
[2014-10-30 15:58:01(859)]        Invoke        UserSpeakControl(userid=16273,bOpen=1)
[2014-10-30 15:58:01(859)]        ****Open Local Video Fail,ErrorCode:10011
[2014-10-30 15:58:01(859)]        Invoke        BRAC_SetVideoPos(dwUserId:16286, hWnd:0x160da6, l:396, t:327, r:575, b:465)
[2014-10-30 15:58:01(859)]        Invoke        UserCameraControl(userid=16286,bOpen=1)
[2014-10-30 15:58:01(859)]        Invoke        UserSpeakControl(userid=16286,bOpen=1)
[2014-10-30 15:58:01(859)]        Invoke        BRAC_SetVideoPos(dwUserId:-12704, hWnd:0x160da6, l:582, t:326, r:764, b:464)
[2014-10-30 15:58:01(859)]        Invoke        UserCameraControl(userid=-12704,bOpen=1)
[2014-10-30 15:58:01(875)]        Invoke        UserSpeakControl(userid=-12704,bOpen=1)
[2014-10-30 15:58:01(890)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-10-30 15:58:01(968)]        On Remote UserCameraControl(dwUserId:-12686, bOpen:1)
[2014-10-30 15:58:01(984)]        On Remote UserSpeakControl(dwUserId:-12686, bOpen:1)
[2014-10-30 15:58:02(359)]        Message        OnP2PConnectState(userid=-12686, state=1)
[2014-10-30 15:58:02(609)]        Message        OnP2PConnectState(userid=-12686, state=3)
[2014-10-30 15:58:03(843)]        Message        OnP2PConnectState(userid=16273, state=1)
[2014-10-30 15:58:04(937)]        userid(16286) video decode delay:0ms
[2014-10-30 15:58:34(703)]        Message        OnUserEnterRoom(userid=16289,nickname=guo,siteindex=5)
[2014-10-30 15:58:35(640)]        Message        OnP2PConnectState(userid=16289, state=1)
[2014-10-30 15:58:35(671)]        Message        OnP2PConnectState(userid=16289, state=3)
[2014-10-30 15:58:39(250)]        On Remote UserCameraControl(dwUserId:16289, bOpen:1)
[2014-10-30 15:58:39(296)]        On Remote UserSpeakControl(dwUserId:16289, bOpen:1)
[2014-10-30 15:58:56(218)]        Invoke        BRAC_TransFile(dwUserid=16273, dwTaskId:17448, PathName:C:\Documents and Settings\Administrator\桌面\activity的生命周期.png)=0
[2014-10-30 15:58:56(218)]        Invoke        BRAC_TransFile(dwUserid=16289, dwTaskId:17449, PathName:C:\Documents and Settings\Administrator\桌面\activity的生命周期.png)=0
[2014-10-30 15:59:16(734)]        Message        OnUserLeaveRoom(userid=16286,siteindex=0)

作者: gguofei    时间: 2014-10-30 16:00
android端

[2014-10-30 15:58:11(592)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-10-30 15:58:11(593)]        Load libanychatcore.so success!(V5.1 Build Time:Sep  1 2014 02:08:04)
[2014-10-30 15:58:11(593)]        Android OS SDK Version:18, Support ARMv7:2, Support Neon:4
[2014-10-30 15:58:11(616)]        Load libmediautil_v7.so success!(V5.1 Build Time:Sep  1 2014 02:09:05)
[2014-10-30 15:58:11(627)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-10-30 15:58:11(638)]        dlopen failed: cannot locate symbol "_ZN7android6Camera17setPreviewDisplayERKNS_2spINS_7SurfaceEEE" referenced by "libmediacore_4.2.so"...
[2014-10-30 15:58:11(638)]        Load libmediacore.so success!(V5.1 Build Time:Sep  1 2014 02:08:33)
[2014-10-30 15:58:11(639)]        CPU:38.40 MIPS, Hardwareualcomm MSM 8226 (Flattened Device Tree)
[2014-10-30 15:58:17(875)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2014-10-30 15:58:17(876)]        Invoke        LoginServer(username=guo)
[2014-10-30 15:58:17(886)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2014-10-30 15:58:18(110)]        Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
[2014-10-30 15:58:18(212)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-10-30 15:58:18(546)]        OnReceiveUserDefine(dwSrcUserId:0, dwTarUserId:-1, dwCommand:13, wParam:0, lParam:0, dwBufSize:212)
[2014-10-30 15:58:18(661)]        Message        OnLoginSystem(userid=16289,errorcode=0,username=guo), msg deliver worked(0)
[2014-10-30 15:58:18(679)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-10-30 15:58:18(755)]        Connection to streaming media server successfully!(udp delay:37ms)
[2014-10-30 15:58:18(925)]        Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-10-30 15:58:18(925)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-10-30 15:58:18(926)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-10-30 15:58:18(926)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-10-30 15:58:21(449)]        Invoke        EnterRoom(roomid=1)
[2014-10-30 15:58:21(927)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=5)
[2014-10-30 15:58:21(928)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-10-30 15:58:21(929)]        Message        OnReceiveOnlineUser(count=6,roomid=1)
[2014-10-30 15:58:22(375)]        Message        OnP2PConnectState(userid=-12686, state=2)
[2014-10-30 15:58:22(560)]        Message        OnP2PConnectState(userid=-12686, state=3)
[2014-10-30 15:58:22(747)]        Message        OnP2PConnectState(userid=16287, state=1)
[2014-10-30 15:58:22(779)]        Message        OnP2PConnectState(userid=16287, state=3)
[2014-10-30 15:58:26(137)]        Invoke        UserCameraControl(userid=16287,bOpen=1)
[2014-10-30 15:58:26(137)]        Invoke        UserSpeakControl(userid=16273,bOpen=1)
[2014-10-30 15:58:26(138)]        Invoke        UserSpeakControl(userid=16286,bOpen=1)
[2014-10-30 15:58:26(139)]        Invoke        UserSpeakControl(userid=16287,bOpen=1)
[2014-10-30 15:58:26(139)]        Invoke        UserSpeakControl(userid=-12704,bOpen=1)
[2014-10-30 15:58:26(139)]        Invoke        UserSpeakControl(userid=-12686,bOpen=1)
[2014-10-30 15:58:26(144)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-10-30 15:58:26(145)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-10-30 15:58:26(191)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-10-30 15:58:26(192)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-10-30 15:58:26(321)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-10-30 15:58:26(610)]        video init finish:320x240, NV21, fps:25
[2014-10-30 15:58:27(117)]        video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:7
[2014-10-30 15:58:46(677)]        Recv File(/storage/emulated/0/anychattemp/activity的生命周期.png.tmp) Error:2, size:0, ret:0, packnum:-1
[2014-10-30 15:59:03(886)]        Message        OnUserLeaveRoom(userid=16286,siteindex=0)
[2014-10-30 15:59:28(696)]        Message        OnUserEnterRoom(userid=16286,nickname=bprobot_ABC0001,siteindex=0)
[2014-10-30 15:59:29(636)]        Message        OnUserEnterRoom(userid=16290,nickname=13720061009,siteindex=6)
[2014-10-30 15:59:38(767)]        Invoke        UserCameraControl(userid=16287,bOpen=0)
[2014-10-30 15:59:38(768)]        Invoke        UserSpeakControl(userid=16273,bOpen=0)
[2014-10-30 15:59:38(780)]        Invoke        UserSpeakControl(userid=16286,bOpen=0)
[2014-10-30 15:59:38(781)]        Invoke        UserSpeakControl(userid=16287,bOpen=0)
[2014-10-30 15:59:38(789)]        Invoke        UserSpeakControl(userid=16290,bOpen=0)
[2014-10-30 15:59:38(790)]        Invoke        UserSpeakControl(userid=-12704,bOpen=0)
[2014-10-30 15:59:38(800)]        Invoke        UserSpeakControl(userid=-12686,bOpen=0)
[2014-10-30 15:59:38(804)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2014-10-30 15:59:38(804)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2014-10-30 15:59:40(097)]        Invoke        LeaveRoom(roomid=-1)        Elapse:102 ms
[2014-10-30 15:59:40(238)]        Invoke        LogoutServer(userid=16289)        Elapse:7 ms
[2014-10-30 15:59:40(262)]        Invoke        BRAC_Release        Elapse:23 ms

作者: admin    时间: 2014-10-30 16:04
Recv File(/storage/emulated/0/anychattemp/activity的生命周期.png.tmp) Error:2, size:0, ret:0, packnum:-1

是不是没有给Android的程序加上操作文件的权限?
作者: admin    时间: 2014-10-30 16:06
Load libanychatcore.so success!(V5.1 Build Time:Sep  1 2014 02:08:04)

建议升级SDK到最新版本:http://www.anychat.cn/download.html?t=Android,您所遇到的问题可能与中文文件名相关,最新的版本有修正该问题。或者您可以试一下传输一个非中文文件名的文件试试。
作者: gguofei    时间: 2014-10-30 16:08
没有加,如何对操作文件加权限???能否举个例子,谢谢了
作者: admin    时间: 2014-10-30 16:15
或者您可以试一下传输一个非中文文件名的文件试试。
作者: 廖斌    时间: 2014-10-30 16:40
gguofei 发表于 2014-10-30 16:08
没有加,如何对操作文件加权限???能否举个例子,谢谢了

在工程配置文件AndroidManifest.xml中加“ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />”
作者: gguofei    时间: 2014-10-30 16:45
是中文文件名的关系,但是更新到最新版本后,有中文文件名的文件也还是不能传输。
作者: admin    时间: 2014-10-30 16:46
您好,请上传android最新版本的日志文件,谢谢。
作者: gguofei    时间: 2014-10-30 16:52
廖斌 发表于 2014-10-30 16:40
在工程配置文件AndroidManifest.xml中加“ ”

恩恩,权限加过,也更新到最新版本,带有中文文件名的文件不能成功发送。
作者: gguofei    时间: 2014-10-30 17:23
admin 发表于 2014-10-30 16:46
您好,请上传android最新版本的日志文件,谢谢。

android端:

[2014-10-30 17:20:31(365)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-10-30 17:20:31(367)]        Load libanychatcore.so success!(V5.1 Build Time:Sep  1 2014 02:08:04)
[2014-10-30 17:20:31(368)]        Android OS SDK Version:18, Support ARMv7:2, Support Neon:4
[2014-10-30 17:20:31(420)]        Load libmediautil_v7.so success!(V5.1 Build Time:Sep  1 2014 02:09:05)
[2014-10-30 17:20:31(438)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-10-30 17:20:31(461)]        dlopen failed: cannot locate symbol "_ZN7android6Camera17setPreviewDisplayERKNS_2spINS_7SurfaceEEE" referenced by "libmediacore_4.2.so"...
[2014-10-30 17:20:31(462)]        Load libmediacore.so success!(V5.1 Build Time:Sep  1 2014 02:08:33)
[2014-10-30 17:20:31(463)]        CPU:38.40 MIPS, Hardwareualcomm MSM 8226 (Flattened Device Tree)
[2014-10-30 17:20:59(317)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2014-10-30 17:20:59(321)]        Invoke        LoginServer(username=guo)
[2014-10-30 17:21:00(419)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2014-10-30 17:21:00(642)]        Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
[2014-10-30 17:21:00(746)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-10-30 17:21:01(202)]        OnReceiveUserDefine(dwSrcUserId:0, dwTarUserId:-1, dwCommand:13, wParam:0, lParam:0, dwBufSize:212)
[2014-10-30 17:21:01(265)]        Message        OnLoginSystem(userid=16389,errorcode=0,username=guo), msg deliver worked(0)
[2014-10-30 17:21:01(303)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-10-30 17:21:01(392)]        Connection to streaming media server successfully!(udp delay:41ms)
[2014-10-30 17:21:01(595)]        Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-10-30 17:21:01(595)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-10-30 17:21:01(596)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-10-30 17:21:01(596)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-10-30 17:21:04(080)]        Invoke        EnterRoom(roomid=1)
[2014-10-30 17:21:04(519)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=3)
[2014-10-30 17:21:04(521)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-10-30 17:21:04(522)]        Message        OnReceiveOnlineUser(count=5,roomid=1)
[2014-10-30 17:21:04(964)]        On Remote UserCameraControl(dwUserId:-12686, bOpen:1)
[2014-10-30 17:21:05(037)]        On Remote UserSpeakControl(dwUserId:-12686, bOpen:1)
[2014-10-30 17:21:05(038)]        On Remote UserCameraControl(dwUserId:16387, bOpen:1)
[2014-10-30 17:21:05(038)]        On Remote UserSpeakControl(dwUserId:16387, bOpen:1)
[2014-10-30 17:21:05(242)]        Message        OnP2PConnectState(userid=16317, state=2)
[2014-10-30 17:21:05(314)]        Message        OnP2PConnectState(userid=-12686, state=2)
[2014-10-30 17:21:05(406)]        Message        OnP2PConnectState(userid=16387, state=2)
[2014-10-30 17:21:05(419)]        socket error, disconnected by peer!, bTcp(1) - userid(-12686)
[2014-10-30 17:21:05(512)]        Message        OnP2PConnectState(userid=16387, state=3)
[2014-10-30 17:21:05(554)]        Message        OnP2PConnectState(userid=16317, state=3)
[2014-10-30 17:21:06(689)]        Message        OnUserEnterRoom(userid=-12853,nickname=guest001,siteindex=5)
[2014-10-30 17:21:07(318)]        On Remote UserCameraControl(dwUserId:-12853, bOpen:1)
[2014-10-30 17:21:07(382)]        On Remote UserSpeakControl(dwUserId:-12853, bOpen:1)
[2014-10-30 17:21:09(609)]        Message        OnP2PConnectState(userid=-12853, state=2)
[2014-10-30 17:21:10(380)]        Invoke        UserCameraControl(userid=16317,bOpen=1)
[2014-10-30 17:21:10(380)]        Invoke        UserSpeakControl(userid=16317,bOpen=1)
[2014-10-30 17:21:10(381)]        Invoke        UserSpeakControl(userid=16387,bOpen=1)
[2014-10-30 17:21:10(381)]        Invoke        UserSpeakControl(userid=-12853,bOpen=1)
[2014-10-30 17:21:10(382)]        Invoke        UserSpeakControl(userid=-12704,bOpen=1)
[2014-10-30 17:21:10(382)]        Invoke        UserSpeakControl(userid=-12686,bOpen=1)
[2014-10-30 17:21:10(390)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-10-30 17:21:10(391)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-10-30 17:21:10(481)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-10-30 17:21:10(482)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-10-30 17:21:10(612)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-10-30 17:21:11(146)]        video init finish:320x240, NV21, fps:25
[2014-10-30 17:21:11(645)]        video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:7
[2014-10-30 17:21:11(867)]        userid(16317) video decode delay:14ms
[2014-10-30 17:21:23(514)]        Message        OnUserEnterRoom(userid=16390,nickname=13720061009,siteindex=6)
[2014-10-30 17:21:37(424)]        Recv File(/storage/emulated/0/anychattemp/志愿者.jpg.tmp) Error:2, size:0, ret:0, packnum:-1
[2014-10-30 17:21:54(136)]        Invoke        UserCameraControl(userid=16317,bOpen=0)
[2014-10-30 17:21:54(137)]        Invoke        UserSpeakControl(userid=16317,bOpen=0)
[2014-10-30 17:21:54(140)]        Invoke        UserSpeakControl(userid=16387,bOpen=0)
[2014-10-30 17:21:54(144)]        Invoke        UserSpeakControl(userid=16390,bOpen=0)
[2014-10-30 17:21:54(145)]        Invoke        UserSpeakControl(userid=-12853,bOpen=0)
[2014-10-30 17:21:54(155)]        Invoke        UserSpeakControl(userid=-12704,bOpen=0)
[2014-10-30 17:21:54(160)]        Invoke        UserSpeakControl(userid=-12686,bOpen=0)
[2014-10-30 17:21:54(164)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2014-10-30 17:21:54(165)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2014-10-30 17:21:55(449)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2014-10-30 17:21:56(271)]        Invoke        LogoutServer(userid=16389)        Elapse:5 ms
[2014-10-30 17:21:56(306)]        Invoke        BRAC_Release        Elapse:35 ms
pc端:

[2014-10-30 17:20:26(328)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-10-30 17:20:26(328)]        Load BRAnyChatCore.dll success!(V5.1 Build Time:Sep 10 2014 10:00:44)
[2014-10-30 17:20:26(343)]        Load BRMiscUtil.dll success!(V5.1 Build Time:Sep 10 2014 09:59:05)
[2014-10-30 17:20:26(375)]        Load BRMediaUtil.dll success!(V5.1 Build Time:Sep 10 2014 09:59:08)
[2014-10-30 17:20:26(375)]        Load BRMediaShow.dll success!(V5.1 Build Time:Sep 10 2014 09:59:09)
[2014-10-30 17:20:26(390)]        Load BRMediaCore.dll success!(V5.1 Build Time:Sep 10 2014 09:59:30)
[2014-10-30 17:20:26(468)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2014-10-30 17:20:26(468)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,1)
[2014-10-30 17:20:26(468)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2014-10-30 17:20:26(468)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-10-30 17:20:26(468)]        Invoke        AudioGetVolume(device:1, dwVolume:50)=0
[2014-10-30 17:20:26(484)]        Invoke        AudioGetVolume(device:0, dwVolume:50)=0
[2014-10-30 17:20:27(406)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2014-10-30 17:20:27(406)]        Invoke        LoginServer(username=AnyChat51)
[2014-10-30 17:20:27(734)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2014-10-30 17:20:28(093)]        Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
[2014-10-30 17:20:28(328)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-10-30 17:20:28(656)]        Message        OnLoginSystem(userid=16387,errorcode=0,username=AnyChat51), msg deliver worked(1)
[2014-10-30 17:20:28(718)]        Connection to streaming media server successfully!(udp delay:23ms)
[2014-10-30 17:20:29(000)]        Invoke        EnterRoom(roomid=1)
[2014-10-30 17:20:29(531)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=4)
[2014-10-30 17:20:29(531)]        Message        OnReceiveOnlineUser(count=7,roomid=1)
[2014-10-30 17:20:29(531)]        Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x81054, l:29, t:326, r:209, b:461)
[2014-10-30 17:20:29(531)]        WaveIn Audio Capture Driver(Webcam C170)
[2014-10-30 17:20:29(531)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-10-30 17:20:29(531)]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2014-10-30 17:20:29(531)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-10-30 17:20:29(531)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-10-30 17:20:29(546)]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2014-10-30 17:20:29(546)]        Invoke        BRAC_SetVideoPos(dwUserId:16317, hWnd:0x81054, l:213, t:326, r:389, b:464)
[2014-10-30 17:20:29(562)]        Invoke        UserCameraControl(userid=16317,bOpen=1)
[2014-10-30 17:20:29(562)]        Invoke        UserSpeakControl(userid=16317,bOpen=1)
[2014-10-30 17:20:29(562)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-10-30 17:20:29(562)]        Invoke        BRAC_SetVideoPos(dwUserId:16376, hWnd:0x81054, l:396, t:327, r:575, b:465)
[2014-10-30 17:20:29(562)]        Invoke        UserCameraControl(userid=16376,bOpen=1)
[2014-10-30 17:20:29(578)]        Invoke        UserSpeakControl(userid=16376,bOpen=1)
[2014-10-30 17:20:29(578)]        Invoke        BRAC_SetVideoPos(dwUserId:16384, hWnd:0x81054, l:582, t:326, r:764, b:464)
[2014-10-30 17:20:29(578)]        Invoke        UserCameraControl(userid=16384,bOpen=1)
[2014-10-30 17:20:29(578)]        Invoke        UserSpeakControl(userid=16384,bOpen=1)
[2014-10-30 17:20:29(703)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(703)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(703)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(703)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(703)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(703)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(703)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(703)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(718)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(718)]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(718)]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(718)]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559)
[2014-10-30 17:20:29(718)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(718)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(718)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(718)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(734)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(734)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(750)]        MinCroppingSize(800, 480)        MaxCroppingSize(800, 480)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(750)]        MinCroppingSize(800, 480)        MaxCroppingSize(800, 480)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(750)]        MinCroppingSize(1024, 768)        MaxCroppingSize(1024, 768)        Format(MJPG, 0x47504a4d)
[2014-10-30 17:20:29(750)]        MinCroppingSize(1024, 768)        MaxCroppingSize(1024, 768)        Format(MJPG, 0x0)
[2014-10-30 17:20:29(765)]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2014-10-30 17:20:29(781)]        CaptureControl(bStart:1, bInit:1, hr:-2147023446)
[2014-10-30 17:20:29(781)]        video init finish:320x240, YUY2, fps:25
[2014-10-30 17:20:29(968)]        Message        OnP2PConnectState(userid=16317, state=1)
[2014-10-30 17:20:30(046)]        userid(16317) video decode delay:0ms
[2014-10-30 17:20:30(109)]        Message        OnP2PConnectState(userid=16317, state=3)
[2014-10-30 17:20:30(375)]        Message        OnP2PConnectState(userid=-12686, state=2)
[2014-10-30 17:20:34(765)]        Message        OnUserLeaveRoom(userid=16386,siteindex=6)
[2014-10-30 17:20:52(265)]        Message        OnUserLeaveRoom(userid=16384,siteindex=3)
[2014-10-30 17:20:52(265)]        Message        OnUserEnterRoom(userid=16384,nickname=13720061009,siteindex=3)
[2014-10-30 17:20:52(281)]        Invoke        BRAC_SetVideoPos(dwUserId:16384, hWnd:0x81054, l:582, t:326, r:764, b:464)
[2014-10-30 17:20:52(281)]        Invoke        UserCameraControl(userid=16384,bOpen=1)
[2014-10-30 17:20:52(281)]        Invoke        UserSpeakControl(userid=16384,bOpen=1)
[2014-10-30 17:21:14(796)]        Message        OnUserLeaveRoom(userid=16384,siteindex=3)
[2014-10-30 17:21:16(421)]        Message        OnUserLeaveRoom(userid=16376,siteindex=5)
[2014-10-30 17:21:17(609)]        Message        OnUserEnterRoom(userid=16389,nickname=guo,siteindex=3)
[2014-10-30 17:21:17(609)]        Invoke        BRAC_SetVideoPos(dwUserId:16389, hWnd:0x81054, l:396, t:327, r:575, b:465)
[2014-10-30 17:21:17(609)]        Invoke        UserCameraControl(userid=16389,bOpen=1)
[2014-10-30 17:21:17(609)]        Invoke        UserSpeakControl(userid=16389,bOpen=1)
[2014-10-30 17:21:18(296)]        Message        OnP2PConnectState(userid=16389, state=2)
[2014-10-30 17:21:18(406)]        Message        OnP2PConnectState(userid=16389, state=3)
[2014-10-30 17:21:19(718)]        Message        OnUserEnterRoom(userid=-12853,nickname=guest001,siteindex=5)
[2014-10-30 17:21:19(718)]        Invoke        BRAC_SetVideoPos(dwUserId:-12853, hWnd:0x81054, l:582, t:326, r:764, b:464)
[2014-10-30 17:21:19(734)]        Invoke        UserCameraControl(userid=-12853,bOpen=1)
[2014-10-30 17:21:19(734)]        Invoke        UserSpeakControl(userid=-12853,bOpen=1)
[2014-10-30 17:21:20(328)]        On Remote UserCameraControl(dwUserId:-12853, bOpen:1)
[2014-10-30 17:21:20(328)]        On Remote UserSpeakControl(dwUserId:-12853, bOpen:1)
[2014-10-30 17:21:23(375)]        On Remote UserSpeakControl(dwUserId:16389, bOpen:1)
[2014-10-30 17:21:23(921)]        Message        OnP2PConnectState(userid=-12853, state=2)
[2014-10-30 17:21:24(609)]        userid(16389) video decode delay:0ms
[2014-10-30 17:21:36(328)]        Message        OnUserEnterRoom(userid=16390,nickname=13720061009,siteindex=6)
[2014-10-30 17:21:39(078)]        Invoke        BRAC_TransFile(dwUserid=16389, dwTaskId:25195, PathName:C:\Documents and Settings\Administrator\桌面\志愿者.jpg)=0
[2014-10-30 17:22:07(328)]        On Remote UserSpeakControl(dwUserId:16389, bOpen:0)
[2014-10-30 17:22:08(296)]        Message        OnUserLeaveRoom(userid=16389,siteindex=3)
[2014-10-30 17:22:27(625)]        Message        OnUserLeaveRoom(userid=16390,siteindex=6)
[2014-10-30 17:22:55(390)]        Message        OnUserLeaveRoom(userid=-12853,siteindex=5)
[2014-10-30 17:22:58(593)]        Message        OnUserEnterRoom(userid=-12857,nickname=user2,siteindex=3)
[2014-10-30 17:22:58(593)]        Message        OnUserEnterRoom(userid=16393,nickname=bprobot_ABC0001,siteindex=5)
[2014-10-30 17:22:58(609)]        Invoke        BRAC_SetVideoPos(dwUserId:-12857, hWnd:0x81054, l:396, t:327, r:575, b:465)
[2014-10-30 17:22:58(609)]        Invoke        UserCameraControl(userid=-12857,bOpen=1)
[2014-10-30 17:22:58(609)]        Invoke        UserSpeakControl(userid=-12857,bOpen=1)
[2014-10-30 17:22:58(609)]        Invoke        BRAC_SetVideoPos(dwUserId:16393, hWnd:0x81054, l:582, t:326, r:764, b:464)
[2014-10-30 17:22:58(609)]        Invoke        UserCameraControl(userid=16393,bOpen=1)
[2014-10-30 17:22:58(609)]        Invoke        UserSpeakControl(userid=16393,bOpen=1)
[2014-10-30 17:23:01(718)]        Message        OnP2PConnectState(userid=-12857, state=2)
[2014-10-30 17:23:01(921)]        Message        OnUserLeaveRoom(userid=-12857,siteindex=3)
[2014-10-30 17:23:05(343)]        Message        OnUserEnterRoom(userid=-12855,nickname=name,siteindex=3)
[2014-10-30 17:23:05(343)]        Invoke        BRAC_SetVideoPos(dwUserId:-12855, hWnd:0x81054, l:396, t:327, r:575, b:465)
[2014-10-30 17:23:05(343)]        Invoke        UserCameraControl(userid=-12855,bOpen=1)
[2014-10-30 17:23:05(343)]        Invoke        UserSpeakControl(userid=-12855,bOpen=1)
[2014-10-30 17:23:06(140)]        Message        OnUserEnterRoom(userid=-12858,nickname=AnyChat3,siteindex=6)
[2014-10-30 17:23:10(421)]        Message        OnP2PConnectState(userid=-12858, state=2)
[2014-10-30 17:23:11(578)]        On Remote UserCameraControl(dwUserId:-12855, bOpen:1)
[2014-10-30 17:23:11(578)]        On Remote UserSpeakControl(dwUserId:-12855, bOpen:1)
[2014-10-30 17:23:12(734)]        On Remote UserCameraControl(dwUserId:-12855, bOpen:0)
[2014-10-30 17:23:12(796)]        On Remote UserSpeakControl(dwUserId:-12855, bOpen:0)
[2014-10-30 17:23:14(593)]        Message        OnUserLeaveRoom(userid=-12858,siteindex=6)
[2014-10-30 17:23:19(515)]        Message        OnUserLeaveRoom(userid=16393,siteindex=5)
[2014-10-30 17:23:19(687)]        userid(-12855) video decode delay:0ms

作者: admin    时间: 2014-10-30 17:41
亲,android这边还是没有升级到最新版本喔,参考:AnyChat版本升级步骤指南
Load libanychatcore.so success!(V5.1 Build Time:Sep  1 2014 02:08:04)





欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3