AnyChat技术支持论坛

标题: 连接成功了 但是服务端 与app端看不到相互的画面!!! [打印本页]

作者: kkk    时间: 2015-8-7 11:29
标题: 连接成功了 但是服务端 与app端看不到相互的画面!!!
连接成功了 但是服务端 与app端看不到相互的画面!!!  急急急
作者: admin    时间: 2015-8-7 11:32
您好,请上传两个客户端的日志信息(BRAnyChatCore.log文件)上来,我们帮您分析一下。

Windows平台日志文件在程序当前目录下,或是Web插件安装目录下,Android平台日志文件在SD卡根目录下。
作者: kkk    时间: 2015-8-7 11:53
admin 发表于 2015-8-7 11:32
您好,请上传两个客户端的日志信息(BRAnyChatCore.log文件)上来,我们帮您分析一下。

Windows平台日志 ...

[2015-08-07 11:53:31(879)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-08-07 11:53:31(879)]        Load libanychatcore.so success!(V5.2 Build Time:Jun  5 2015 15:29:45)
[2015-08-07 11:53:31(880)]        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
[2015-08-07 11:53:31(891)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: library "libmediautil_v7.so" not found)
[2015-08-07 11:53:31(898)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 11:53:31(904)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 11:53:31(906)]        cpu:SMDK4x12(ad90bf7542f6e31c) 1592.52 mips
[2015-08-07 11:53:31(906)]        SHV-E250S(samsung) exynos4 SMDK4X12_PRIME 4.4.2
[2015-08-07 11:53:31(907)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 11:53:31(907)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 11:53:31(908)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 11:53:31(908)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 11:53:31(920)]        Invoke        LogoutServer(userid=-1)        Elapse:7 ms
[2015-08-07 11:53:36(984)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 11:53:36(996)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 11:53:37(047)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 11:53:37(091)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 11:53:37(121)]        Invoke        LoginServer(username=b45f6d9bc084427dad6e,1)
[2015-08-07 11:53:37(356)]        Message        OnLoginSystem(userid=-218,errorcode=0,username=b45f6d9bc084427dad6e,1), msg deliver worked(0)
[2015-08-07 11:53:37(393)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: library "libmediautil_v7.so" not found)
[2015-08-07 11:53:37(406)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 11:53:37(418)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 11:53:37(420)]        Server running time: 22 days, 3 hours, 14 minutes, license mode:0
[2015-08-07 11:53:37(444)]        Connection to streaming media server successfully!(udp delay:12ms)
[2015-08-07 11:53:52(787)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:13, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:b45f6d9bc084427dad6e,1)=0
[2015-08-07 11:53:52(928)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 11:53:52(960)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 11:53:52(961)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 11:53:52(962)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 11:53:53(266)]        video init finish:320x240, NV21, fps:30, codecid:1
[2015-08-07 11:53:53(311)]        Invoke        UserCameraControl(userid=-218,bOpen=1)
[2015-08-07 11:53:53(311)]        Invoke        UserSpeakControl(userid=-218,bOpen=1)
[2015-08-07 11:53:53(311)]        Invoke        UserCameraControl(userid=13,bOpen=1)
[2015-08-07 11:53:53(311)]        Invoke        UserSpeakControl(userid=13,bOpen=1)
[2015-08-07 11:53:53(345)]        video init finish:320x240, NV21, fps:30, codecid:1
[2015-08-07 11:53:53(420)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-08-07 11:53:53(420)]        Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
[2015-08-07 11:53:53(478)]        Convert YUV420P Failed!
[2015-08-07 11:53:53(600)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 11:53:57(192)]        Message        OnUserEnterRoom(userid=13,nickname=admin,siteindex=1)
[2015-08-07 11:53:57(203)]        Invoke        UserCameraControl(userid=13,bOpen=1)
[2015-08-07 11:53:57(203)]        Invoke        UserSpeakControl(userid=13,bOpen=1)
[2015-08-07 11:53:57(705)]        On Remote UserCameraControl(dwUserId:13, bOpen:1)
[2015-08-07 11:53:57(716)]        On Remote UserSpeakControl(dwUserId:13, bOpen:1)
[2015-08-07 11:54:05(600)]        Message        OnP2PConnectState(userid=13, state=2)
[2015-08-07 11:54:26(150)]        Invoke        LeaveRoom(roomid=-1)        Elapse:108 ms
[2015-08-07 11:54:26(154)]        Invoke        LogoutServer(userid=-218)        Elapse:112 ms
[2015-08-07 11:54:26(668)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 11:54:26(669)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 11:54:26(669)]        Invoke        UserSpeakControl(userid=13,bOpen=0)
[2015-08-07 11:54:26(669)]        Invoke        UserCameraControl(userid=13,bOpen=0)

作者: kkk    时间: 2015-8-7 11:56
admin 发表于 2015-8-7 11:32
您好,请上传两个客户端的日志信息(BRAnyChatCore.log文件)上来,我们帮您分析一下。

Windows平台日志 ...

服务端的日志:
[2015-08-07 09:05:56(336)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-08-07 09:05:56(336)]        Load BRAnyChatCore.dll success!(V5.2 Build Time:Jun  5 2015 22:21:04)
[2015-08-07 09:05:56(352)]        Load BRMiscUtil.dll success!(V5.2 Build Time:Jun  5 2015 22:19:50)
[2015-08-07 09:05:56(367)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jun  5 2015 22:19:52)
[2015-08-07 09:05:56(367)]        Load BRMediaShow.dll success!(V5.2 Build Time:Jun  5 2015 22:19:48)
[2015-08-07 09:05:56(367)]        Load BRMediaCore.dll success!(V5.2 Build Time:Jun  5 2015 22:20:02)

作者: 佰锐科技-李友勤    时间: 2015-8-7 12:07
您好,根据您的日志报错分析,这是Android的特性造成的, 默认情况下所有库都加载自armeabi目录,如果存在armeabi-v7a目录,而且手机芯片是支持ARMv7指令集的,且库是ARMv7架构的,则会在armeabi-v7a中查找对应的库文件。换句话说:如果您的项目文件中包含armeabi-v7a目录,则需要将libmediautil_v7.so拷贝到该目录中去,而把libmediautil_v6.so继续保留在armeabi目录中即可
作者: admin    时间: 2015-8-7 12:14
Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: library "libmediautil_v7.so" not found)

Android端有一个库加载失败所以看不到视频。

您使用我们标准的示例工程:helloAnyChat.apk是否正常呢?

若是helloAnyChat.apk正常,只是您自己的工程不正常,则可能是libmediautil_v7.so库所放的位置不正确,请参考:Load libmediautil_v7.so failed的解决办法
作者: kkk    时间: 2015-8-7 13:27
佰锐科技-李友勤 发表于 2015-8-7 12:07
您好,根据您的日志报错分析,这是Android的特性造成的, 默认情况下所有库都加载自armeabi目录,如果存在a ...

恩 就是这个问题    解决了 非常 感谢
作者: kkk    时间: 2015-8-7 15:34
佰锐科技-李友勤 发表于 2015-8-7 12:07
您好,根据您的日志报错分析,这是Android的特性造成的, 默认情况下所有库都加载自armeabi目录,如果存在a ...

还有个问题   就是视频开通了之后   app端可以听到服务端的声音 但是 服务端听不到app端的声音???
作者: 佰锐科技-李永星    时间: 2015-8-7 15:38
kkk 发表于 2015-8-7 15:34
还有个问题   就是视频开通了之后   app端可以听到服务端的声音 但是 服务端听不到app端的声音???

您好!请把服务端和app端,服务端听不到app端声音时两端的日志,上传,我们帮你分析一下。
作者: kkk    时间: 2015-8-7 17:20
佰锐科技-李永星 发表于 2015-8-7 15:38
您好!请把服务端和app端,服务端听不到app端声音时两端的日志,上传,我们帮你分析一下。


问题是:APP端可以听到来自服务器端的声音  但是服务端听不到来自app端的声音



[2015-08-07 17:06:45(267)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-08-07 17:06:45(268)]        Load libanychatcore.so success!(V5.2 Build Time:Jun  5 2015 15:29:45)
[2015-08-07 17:06:45(269)]        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
[2015-08-07 17:06:45(293)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:06:45(308)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:06:45(323)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:06:45(325)]        PINE(HUAWEI) hi3630  4.4.2
[2015-08-07 17:06:45(328)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:06:45(328)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:06:45(328)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:06:45(328)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:06:45(363)]        Invoke        LogoutServer(userid=-1)        Elapse:10 ms
[2015-08-07 17:06:55(269)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:06:55(270)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:06:55(270)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:06:55(270)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:07:00(075)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:07:00(137)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:07:01(117)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:07:01(324)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:07:01(351)]        Invoke        LoginServer(username=be13a2f798cb4dcf8810,1)
[2015-08-07 17:07:01(875)]        Message        OnLoginSystem(userid=-265,errorcode=0,username=be13a2f798cb4dcf8810,1), msg deliver worked(0)
[2015-08-07 17:07:01(892)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:07:01(907)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:07:01(921)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:07:01(922)]        Server running time: 22 days, 8 hours, 29 minutes, license mode:0
[2015-08-07 17:07:01(953)]        Connection to streaming media server successfully!(udp delay:15ms)
[2015-08-07 17:07:07(883)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:57, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:be13a2f798cb4dcf8810,1)=0
[2015-08-07 17:07:08(050)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:07:08(116)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 17:07:08(117)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 17:07:08(117)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 17:07:08(189)]        Message        OnUserEnterRoom(userid=57,nickname=admin,siteindex=1)
[2015-08-07 17:07:08(614)]        On Remote UserCameraControl(dwUserId:57, bOpen:1)
[2015-08-07 17:07:08(615)]        On Remote UserSpeakControl(dwUserId:57, bOpen:1)
[2015-08-07 17:07:13(079)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:07:13(260)]        Invoke        UserCameraControl(userid=-265,bOpen=1)
[2015-08-07 17:07:13(261)]        Invoke        UserSpeakControl(userid=-265,bOpen=1)
[2015-08-07 17:07:13(261)]        Invoke        UserCameraControl(userid=57,bOpen=1)
[2015-08-07 17:07:13(261)]        Invoke        UserSpeakControl(userid=57,bOpen=1)
[2015-08-07 17:07:13(262)]        Invoke        UserCameraControl(userid=57,bOpen=1)
[2015-08-07 17:07:13(262)]        Invoke        UserSpeakControl(userid=57,bOpen=1)
[2015-08-07 17:07:13(310)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:07:13(327)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-08-07 17:07:13(328)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-08-07 17:07:13(579)]        userid(57) audio decode, codec:11, 1 channel, 16000Hz
[2015-08-07 17:07:13(727)]        userid(57) video decode, codec:1, 320x240, delay:10ms
[2015-08-07 17:07:13(927)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:4
[2015-08-07 17:07:14(712)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:07:16(177)]        Message        OnP2PConnectState(userid=57, state=2)
[2015-08-07 17:07:30(398)]        Invoke        LeaveRoom(roomid=-1)        Elapse:112 ms
[2015-08-07 17:07:30(404)]        Invoke        LogoutServer(userid=-265)        Elapse:118 ms
[2015-08-07 17:07:31(301)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:07:31(302)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:07:31(302)]        Invoke        UserSpeakControl(userid=57,bOpen=0)
[2015-08-07 17:07:31(302)]        Invoke        UserCameraControl(userid=57,bOpen=0)
[2015-08-07 17:09:56(019)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:09:56(020)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:09:56(020)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:09:56(020)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:10:02(208)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:10:02(271)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:10:02(322)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:10:02(374)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:10:02(379)]        Invoke        LoginServer(username=06e61cc438114423a633,1)
[2015-08-07 17:10:02(619)]        Message        OnLoginSystem(userid=-268,errorcode=0,username=06e61cc438114423a633,1), msg deliver worked(0)
[2015-08-07 17:10:02(648)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:10:02(662)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:10:02(675)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:10:02(676)]        Server running time: 22 days, 8 hours, 32 minutes, license mode:0
[2015-08-07 17:10:02(697)]        Connection to streaming media server successfully!(udp delay:10ms)
[2015-08-07 17:10:05(122)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:57, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:06e61cc438114423a633,1)=0
[2015-08-07 17:10:05(202)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:10:05(245)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 17:10:05(245)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 17:10:05(246)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 17:10:05(266)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:10:05(378)]        Message        OnUserEnterRoom(userid=57,nickname=admin,siteindex=1)
[2015-08-07 17:10:05(423)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:10:05(489)]        Invoke        UserCameraControl(userid=-268,bOpen=1)
[2015-08-07 17:10:05(489)]        Invoke        UserSpeakControl(userid=-268,bOpen=1)
[2015-08-07 17:10:05(490)]        Invoke        UserCameraControl(userid=57,bOpen=1)
[2015-08-07 17:10:05(490)]        Invoke        UserSpeakControl(userid=57,bOpen=1)
[2015-08-07 17:10:05(492)]        Invoke        UserCameraControl(userid=57,bOpen=1)
[2015-08-07 17:10:05(492)]        Invoke        UserSpeakControl(userid=57,bOpen=1)
[2015-08-07 17:10:05(516)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:10:05(783)]        On Remote UserCameraControl(dwUserId:57, bOpen:1)
[2015-08-07 17:10:05(783)]        On Remote UserSpeakControl(dwUserId:57, bOpen:1)
[2015-08-07 17:10:05(816)]        userid(57) audio decode, codec:11, 1 channel, 16000Hz
[2015-08-07 17:10:06(198)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-08-07 17:10:07(516)]        userid(57) video decode, codec:1, 320x240, delay:8ms
[2015-08-07 17:10:14(445)]        Message        OnP2PConnectState(userid=57, state=2)
[2015-08-07 17:10:17(779)]        Invoke        LeaveRoom(roomid=-1)        Elapse:113 ms
[2015-08-07 17:10:17(785)]        Invoke        LogoutServer(userid=-268)        Elapse:119 ms
[2015-08-07 17:10:18(305)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:10:18(306)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:10:18(306)]        Invoke        UserSpeakControl(userid=57,bOpen=0)
[2015-08-07 17:10:18(307)]        Invoke        UserCameraControl(userid=57,bOpen=0)
[2015-08-07 17:13:59(058)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:13:59(058)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:13:59(059)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:13:59(059)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:14:02(504)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:14:02(531)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:14:02(573)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:14:02(634)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:14:02(640)]        Invoke        LoginServer(username=b010d9cba2c8470ab8cf,1)
[2015-08-07 17:14:02(867)]        Message        OnLoginSystem(userid=-270,errorcode=0,username=b010d9cba2c8470ab8cf,1), msg deliver worked(0)
[2015-08-07 17:14:02(883)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:14:02(898)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:14:02(912)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:14:02(913)]        Server running time: 22 days, 8 hours, 36 minutes, license mode:0
[2015-08-07 17:14:02(934)]        Connection to streaming media server successfully!(udp delay:10ms)
[2015-08-07 17:14:05(249)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:63, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:b010d9cba2c8470ab8cf,1)=0
[2015-08-07 17:14:05(333)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:14:05(447)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 17:14:05(448)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 17:14:05(449)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 17:14:05(467)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:14:05(554)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:14:05(621)]        Invoke        UserCameraControl(userid=-270,bOpen=1)
[2015-08-07 17:14:05(622)]        Invoke        UserSpeakControl(userid=-270,bOpen=1)
[2015-08-07 17:14:05(622)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:14:05(623)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:14:05(647)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:14:05(976)]        Message        OnUserEnterRoom(userid=63,nickname=admin,siteindex=1)
[2015-08-07 17:14:05(978)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:14:05(978)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:14:06(327)]        userid(63) audio decode, codec:11, 1 channel, 16000Hz
[2015-08-07 17:14:06(347)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-08-07 17:14:06(476)]        On Remote UserCameraControl(dwUserId:63, bOpen:1)
[2015-08-07 17:14:06(476)]        On Remote UserSpeakControl(dwUserId:63, bOpen:1)
[2015-08-07 17:14:08(084)]        userid(63) video decode, codec:1, 320x240, delay:9ms
[2015-08-07 17:14:14(780)]        Message        OnP2PConnectState(userid=63, state=2)
[2015-08-07 17:14:23(091)]        Invoke        LeaveRoom(roomid=-1)        Elapse:118 ms
[2015-08-07 17:14:23(100)]        Invoke        LogoutServer(userid=-270)        Elapse:126 ms
[2015-08-07 17:14:23(772)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:14:23(772)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:14:23(772)]        Invoke        UserSpeakControl(userid=63,bOpen=0)
[2015-08-07 17:14:23(772)]        Invoke        UserCameraControl(userid=63,bOpen=0)
[2015-08-07 17:14:38(905)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:14:38(906)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:14:38(906)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:14:38(906)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:14:47(604)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:14:47(703)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:14:47(765)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:14:47(817)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:14:47(824)]        Invoke        LoginServer(username=d42c34258a0241c1a73d,1)
[2015-08-07 17:14:48(073)]        Message        OnLoginSystem(userid=-271,errorcode=0,username=d42c34258a0241c1a73d,1), msg deliver worked(0)
[2015-08-07 17:14:48(107)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:14:48(122)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:14:48(135)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:14:48(137)]        Server running time: 22 days, 8 hours, 36 minutes, license mode:0
[2015-08-07 17:14:48(158)]        Connection to streaming media server successfully!(udp delay:10ms)
[2015-08-07 17:14:51(697)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:63, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:d42c34258a0241c1a73d,1)=0
[2015-08-07 17:14:51(813)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:14:51(847)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 17:14:51(847)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 17:14:51(848)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 17:14:51(867)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:14:51(890)]        Message        OnUserEnterRoom(userid=63,nickname=admin,siteindex=1)
[2015-08-07 17:14:52(044)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:14:52(113)]        Invoke        UserCameraControl(userid=-271,bOpen=1)
[2015-08-07 17:14:52(114)]        Invoke        UserSpeakControl(userid=-271,bOpen=1)
[2015-08-07 17:14:52(115)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:14:52(115)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:14:52(116)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:14:52(117)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:14:52(141)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:14:52(245)]        On Remote UserCameraControl(dwUserId:63, bOpen:1)
[2015-08-07 17:14:52(246)]        On Remote UserSpeakControl(dwUserId:63, bOpen:1)
[2015-08-07 17:14:52(291)]        userid(63) audio decode, codec:11, 1 channel, 16000Hz
[2015-08-07 17:14:52(831)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-08-07 17:14:54(049)]        userid(63) video decode, codec:1, 320x240, delay:9ms
[2015-08-07 17:15:00(798)]        Message        OnP2PConnectState(userid=63, state=2)
[2015-08-07 17:15:11(661)]        Invoke        LeaveRoom(roomid=-1)        Elapse:112 ms
[2015-08-07 17:15:11(678)]        Invoke        LogoutServer(userid=-271)        Elapse:129 ms
[2015-08-07 17:15:12(337)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:15:12(338)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:15:12(338)]        Invoke        UserSpeakControl(userid=63,bOpen=0)
[2015-08-07 17:15:12(338)]        Invoke        UserCameraControl(userid=63,bOpen=0)
[2015-08-07 17:16:16(854)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-08-07 17:16:16(855)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-08-07 17:16:16(855)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-08-07 17:16:16(856)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-08-07 17:17:17(750)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:17:17(841)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:17:17(882)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:17:17(945)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:17:17(953)]        Invoke        LoginServer(username=11b6d7271d8543bd96fe,1)
[2015-08-07 17:17:18(188)]        Message        OnLoginSystem(userid=-272,errorcode=0,username=11b6d7271d8543bd96fe,1), msg deliver worked(0)
[2015-08-07 17:17:18(204)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jun  5 2015 15:30:39)
[2015-08-07 17:17:18(219)]        Load libmediashow.so success!(V5.2 Build Time:Jun  5 2015 15:30:24)
[2015-08-07 17:17:18(232)]        Load libmediacore.so success!(V5.2 Build Time:Jun  5 2015 15:30:26)
[2015-08-07 17:17:18(233)]        Server running time: 22 days, 8 hours, 39 minutes, license mode:0
[2015-08-07 17:17:18(265)]        Connection to streaming media server successfully!(udp delay:15ms)
[2015-08-07 17:17:20(296)]        Invoke        BRAC_VideoCallControl(EventType:2, UserId:63, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:11b6d7271d8543bd96fe,1)=0
[2015-08-07 17:17:20(393)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:17:20(424)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-08-07 17:17:20(425)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-08-07 17:17:20(425)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2015-08-07 17:17:20(426)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:17:20(606)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:17:20(669)]        Invoke        UserCameraControl(userid=-272,bOpen=1)
[2015-08-07 17:17:20(670)]        Invoke        UserSpeakControl(userid=-272,bOpen=1)
[2015-08-07 17:17:20(670)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:17:20(671)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:17:20(695)]        video init finish:320x240, NV21, fps:25, codecid:1
[2015-08-07 17:17:20(992)]        Message        OnUserEnterRoom(userid=63,nickname=admin,siteindex=1)
[2015-08-07 17:17:21(000)]        Invoke        UserCameraControl(userid=63,bOpen=1)
[2015-08-07 17:17:21(000)]        Invoke        UserSpeakControl(userid=63,bOpen=1)
[2015-08-07 17:17:21(354)]        On Remote UserCameraControl(dwUserId:63, bOpen:1)
[2015-08-07 17:17:21(354)]        On Remote UserSpeakControl(dwUserId:63, bOpen:1)
[2015-08-07 17:17:21(355)]        userid(63) audio decode, codec:11, 1 channel, 16000Hz
[2015-08-07 17:17:21(384)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-08-07 17:17:23(118)]        userid(63) video decode, codec:1, 320x240, delay:11ms
[2015-08-07 17:17:30(113)]        Message        OnP2PConnectState(userid=63, state=2)
[2015-08-07 17:17:31(772)]        Message        OnUserLeaveRoom(userid=63,siteindex=1)
[2015-08-07 17:17:31(889)]        Invoke        LeaveRoom(roomid=-1)        Elapse:109 ms
[2015-08-07 17:17:31(897)]        Invoke        LogoutServer(userid=-272)        Elapse:117 ms
[2015-08-07 17:17:33(458)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:17:33(458)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:17:33(459)]        Invoke        UserSpeakControl(userid=63,bOpen=0)
[2015-08-07 17:17:33(459)]        Invoke        UserCameraControl(userid=63,bOpen=0)

作者: kkk    时间: 2015-8-7 17:22
佰锐科技-李永星 发表于 2015-8-7 15:38
您好!请把服务端和app端,服务端听不到app端声音时两端的日志,上传,我们帮你分析一下。

这是服务端的log文件

[2015-08-07 17:17:31(693)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-08-07 17:17:31(694)]        Load BRAnyChatCore.dll success!(V5.2 Build Time:Jun  5 2015 22:21:04)
[2015-08-07 17:17:31(707)]        Load BRMiscUtil.dll success!(V5.2 Build Time:Jun  5 2015 22:19:50)
[2015-08-07 17:17:31(741)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jun  5 2015 22:19:52)
[2015-08-07 17:17:31(743)]        Load BRMediaShow.dll success!(V5.2 Build Time:Jun  5 2015 22:19:48)
[2015-08-07 17:17:31(745)]        Load BRMediaCore.dll success!(V5.2 Build Time:Jun  5 2015 22:20:02)
[2015-08-07 17:17:33(162)]        Invoke        BRAC_Connect(121.42.200.127,8906)=0
[2015-08-07 17:17:33(255)]        CheckClientSocketLink         Connect(ip=121.42.200.127,port=8906)
[2015-08-07 17:17:33(377)]        Server version: V5.2(Build Time:2015-06-05 22:20:28, Server OS:Windows)
[2015-08-07 17:17:33(573)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-08-07 17:17:33(573)]        Invoke        LoginServer(username=admin)
[2015-08-07 17:17:34(026)]        Message        OnLoginSystem(userid=65,errorcode=0,username=admin), msg deliver worked(1)
[2015-08-07 17:17:34(027)]        Server running time: 22 days, 8 hours, 39 minutes, license mode:0
[2015-08-07 17:17:34(045)]        Success add upnp map(port:11859, tcp)
[2015-08-07 17:17:34(061)]        Success add upnp map(port:57014, udp)
[2015-08-07 17:17:34(069)]        Connection to streaming media server successfully!(udp delay:23ms)
[2015-08-07 17:18:20(762)]        Invoke        BRAC_VideoCallControl(EventType:1, UserId:-273, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:个人)=0
[2015-08-07 17:18:21(800)]        Invoke        EnterRoom(roomid=1)
[2015-08-07 17:18:22(037)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2015-08-07 17:18:22(042)]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2015-08-07 17:18:22(047)]        Invoke        UserCameraControl(userid=65,bOpen=1)
[2015-08-07 17:18:22(055)]        Invoke        UserSpeakControl(userid=65,bOpen=1)
[2015-08-07 17:18:22(063)]        WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
[2015-08-07 17:18:22(065)]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2015-08-07 17:18:22(066)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-08-07 17:18:22(073)]        On Remote UserCameraControl(dwUserId:-273, bOpen:1)
[2015-08-07 17:18:22(074)]        On Remote UserSpeakControl(dwUserId:-273, bOpen:1)
[2015-08-07 17:18:22(081)]        Invoke        BRAC_SetVideoPos(dwUserId:65, hWnd:0x1a1816, l:0, t:0, r:296, b:194)
[2015-08-07 17:18:22(087)]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2015-08-07 17:18:22(088)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-08-07 17:18:22(184)]        Invoke        UserCameraControl(userid=-273,bOpen=1)
[2015-08-07 17:18:22(184)]        Invoke        UserSpeakControl(userid=-273,bOpen=1)
[2015-08-07 17:18:22(185)]        Invoke        BRAC_SetVideoPos(dwUserId:-273, hWnd:0x41a72, l:0, t:0, r:690, b:629)
[2015-08-07 17:18:23(090)]        Message        OnP2PConnectState(userid=-273, state=2)
[2015-08-07 17:18:23(247)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2015-08-07 17:18:23(247)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681)
[2015-08-07 17:18:23(248)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559)
[2015-08-07 17:18:23(248)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681)
[2015-08-07 17:18:23(249)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2015-08-07 17:18:23(250)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681)
[2015-08-07 17:18:23(251)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559)
[2015-08-07 17:18:23(251)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681)
[2015-08-07 17:18:23(252)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2015-08-07 17:18:23(252)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681)
[2015-08-07 17:18:23(253)]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2015-08-07 17:18:23(761)]        video init finish:320x240, YUY2, fps:30, codecid:1
[2015-08-07 17:18:23(961)]        video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
[2015-08-07 17:18:24(540)]        Message        OnP2PConnectState(userid=-273, state=3)
[2015-08-07 17:18:25(250)]        userid(-273) video decode, codec:1, 320x240, delay:0ms
[2015-08-07 17:18:35(956)]        Invoke        BRAC_VideoCallControl(EventType:4, UserId:-273, ErrorCode:100104, dwFlags:0, dwParam:0, UserStr=0
[2015-08-07 17:18:36(127)]        OnSocketClose, index(3)-errorcode(0-0), flags:0x81, bTcp(1),userid(-273), list:0

[2015-08-07 17:18:36(133)]        Message        OnP2PConnectState(userid=-273, state=2)
[2015-08-07 17:18:36(173)]        Message        OnUserLeaveRoom(userid=-273,siteindex=0)
[2015-08-07 17:18:48(987)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-08-07 17:18:49(624)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-08-07 17:18:50(256)]        Invoke        UserCameraControl(userid=-273,bOpen=0)
[2015-08-07 17:18:50(257)]        Invoke        UserSpeakControl(userid=-273,bOpen=0)
[2015-08-07 17:18:50(667)]        Invoke        LeaveRoom(roomid=-1)        Elapse:16 ms
[2015-08-07 17:18:54(093)]        Invoke        UserCameraControl(userid=-273,bOpen=0)
[2015-08-07 17:18:54(094)]        Invoke        UserSpeakControl(userid=-273,bOpen=0)

作者: kkk    时间: 2015-8-7 17:29
佰锐科技-李永星 发表于 2015-8-7 15:38
您好!请把服务端和app端,服务端听不到app端声音时两端的日志,上传,我们帮你分析一下。

服务端 只是 偶尔 能听到来自app端的声音  听不到的次数非常多 是什么原因呢?????
作者: kkk    时间: 2015-8-7 17:31
admin 发表于 2015-8-7 11:32
您好,请上传两个客户端的日志信息(BRAnyChatCore.log文件)上来,我们帮您分析一下。

Windows平台日志 ...

还有问题  就是 app端可以听到来自服务端的声音    但是服务端听不到来自app端的声音  只有几次听到了来自app端的声音?????什么原因呢
作者: admin    时间: 2015-8-7 17:40
Load BRAnyChatCore.dll success!(V5.2 Build Time:Jun  5 2015 22:21:04)

您好,最新版本是V5.3,请将通话双方的SDK都升级到最新版本,看问题是否依旧存在?
作者: kkk    时间: 2015-8-7 18:02
admin 发表于 2015-8-7 17:40
您好,最新版本是V5.3,请将通话双方的SDK都升级到最新版本,看问题是否依旧存在?

Android端的 sdk用的是AnyChat for Android SDK V2.3这个
作者: admin    时间: 2015-8-7 18:39
您好,请将听不到声音时,通话双方的日志信息贴上来我们帮您分析一下,谢谢。




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