示例网页不能显示对方视频问题咨询
请问下,我们目前在两台电脑上使用AnyChatQueue里边的示例网页,一个登陆客户,一个登陆坐席。视频接通后只能显示自己的视频,不能显示对方的视频。可能是什么原因呢?十分感谢您好,请上传两边的客户端日志信息(位于插件安装目录下,BRAnyChatCore.log),我们帮您分析一下,谢谢。 ---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load BRAnyChatCore.dll success!(V5.3 Build Time:Aug 10 2015 12:20:22)
Load BRMiscUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:50)
Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
Invoke Connect(demo.anychat.cn,8906)=0
Invoke LoginServer(username=wrdsgwer)
CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
Message OnConnect(bSuccess:1, errorcode=0)
Message OnLoginSystem(userid=-86288,errorcode=0,username=wrdsgwer), msg deliver worked(1)
Server running time: 52 days, 21 hours, 28 minutes, license mode:1
Object InitFlags:0x0
Connection to streaming media server successfully!(udp delay:47ms)
Area(10002) Object Event, unknow event:2, dwParam1:-86288
Area(10001) Object Event, Enter Result:0
Message OnVideoCallEvent(EventType:1, UserId:-86300, ErrorCode:0, dwFlags:0x0, dwParam:0
Invoke VideoCallControl(EventType:2, UserId:-86300, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
Message OnVideoCallEvent(EventType:3, UserId:-86300, ErrorCode:0, dwFlags:0x0, dwParam:1
Invoke EnterRoom(roomid=1)
Message OnEnterRoom(roomid=1,errorcode=0,siteindex=3)
Message OnReceiveOnlineUser(count=6,roomid=1)
Invoke UserCameraControl(userid=-86288, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86288,bOpen=1)
WaveIn Audio Capture Driver(麦克风 (High Definition Audio )
Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
Audio codec init, handle:1, 11, 1, 16000, 16, 15850
Message OnUserEnterRoom(userid=-86300,nickname=123,siteindex=4)
Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
Invoke UserCameraControl(userid=-86300, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86300,bOpen=1)
Invoke UserCameraControl(userid=-86300, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86300,bOpen=1)
On Remote UserCameraControl(dwUserId:-86090, bOpen:1)
On Remote UserCameraControl(dwUserId:-86150, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86150, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86090, bOpen:1)
On Remote UserCameraControl(dwUserId:-86046, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86046, bOpen:1)
On Remote UserCameraControl(dwUserId:-86300, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86300, bOpen:1)
userid(-86300) audio decode, codec:11, 1 channel, 16000Hz
Message OnP2PConnectState(userid=-86300, state=2)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(MJPG, 0x47504a4d)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(MJPG, 0x8d2181)
MinCroppingSize(1024, 768) MaxCroppingSize(1024, 768) Format(MJPG, 0x47504a4d)
MinCroppingSize(1024, 768) MaxCroppingSize(1024, 768) Format(MJPG, 0x8d2181)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x47504a4d)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x8d2181)
MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(MJPG, 0x47504a4d)
MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(MJPG, 0x8d2181)
MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(MJPG, 0x47504a4d)
MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(MJPG, 0x8d2181)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(MJPG, 0x47504a4d)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(MJPG, 0x8d2181)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(MJPG, 0x47504a4d)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(MJPG, 0x8d2181)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(MJPG, 0x47504a4d)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(MJPG, 0x8d2181)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(MJPG, 0x47504a4d)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(MJPG, 0x8d2181)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681)
MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(YUY2, 0x32595559)
MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(YUY2, 0x8d2681)
MinCroppingSize(1024, 768) MaxCroppingSize(1024, 768) Format(YUY2, 0x32595559)
MinCroppingSize(1024, 768) MaxCroppingSize(1024, 768) Format(YUY2, 0x8d2681)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUY2, 0x32595559)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUY2, 0x8d2681)
MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(YUY2, 0x32595559)
MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(YUY2, 0x8d2681)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUY2, 0x32595559)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUY2, 0x8d2681)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUY2, 0x32595559)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUY2, 0x8d2681)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681)
Video Config Size(320, 240) Format(YUY2, 25fps)
video init finish:320x240, YUY2, fps:25, codecid:1
video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:3
Message OnP2PConnectState(userid=-86150, state=2)
Message OnP2PConnectState(userid=-86029, state=2)
Message OnP2PConnectState(userid=-86046, state=2)
Message OnP2PConnectState(userid=-86090, state=2)
OnSocketClose, index(10)-errorcode(10053-0), flags:0x81, bTcp(1),userid(-1), list:0
Message OnP2PConnectState(userid=-86300, state=0)
Message OnVideoCallEvent(EventType:4, UserId:-86300, ErrorCode:100106, dwFlags:0x0, dwParam:0
Message OnUserLeaveRoom(userid=-86300,siteindex=4)
Invoke LeaveRoom(roomid=-86288) Elapse:219 ms
Invoke UserCameraControl(userid=-86300, bOpen=0, stream=0)
Invoke UserSpeakControl(userid=-86300,bOpen=0)
此设备和其他电脑连接视频之后,两方均不能看到对方视频,可显示自己的视频,日志如上。麻烦帮忙看一下,十分感谢 liangchao 发表于 2016-3-14 12:48
---------------------------AnyChat Platform Core SDK Client Log---------- ...
您好, userid(-86300) audio decode, codec:11, 1 channel, 16000Hz
声音应该是正常的,没有收到坐席的视频。请将坐席的日志也发过来分析,谢谢! liangchao 发表于 2016-3-14 12:48
---------------------------AnyChat Platform Core SDK Client Log---------- ...
此设备和其他电脑连接视频之后,两方均不能看到对方视频
此设备Anychat插件是什么版本的呢?有没有日志生成呢? 佰锐科技-邵光清 发表于 2016-3-14 13:43
您好, userid(-86300) audio decode, codec:11, 1 channel, 16000Hz
声音应该是正常的,没有收到坐席 ...
---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load BRAnyChatCore.dll success!(V5.3 Build Time:Aug 10 2015 12:20:22)
Load BRMiscUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:50)
Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
Invoke Connect(demo.anychat.cn,8906)=0
Invoke LoginServer(username=nxj)
CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
Message OnConnect(bSuccess:1, errorcode=0)
Message OnLoginSystem(userid=-86135,errorcode=0,username=nxj), msg deliver worked(1)
Server running time: 52 days, 20 hours, 50 minutes, license mode:1
Object InitFlags:0x2
Area(10002) Object Event, unknow event:2, dwParam1:-86135
Area(10001) Object Event, Enter Result:0
Invoke VideoCallControl(EventType:1, UserId:-86121, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
Message OnVideoCallEvent(EventType:2, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:0
Warning: The UDP communication with the server abnormal!
Message OnVideoCallEvent(EventType:3, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:1
Invoke EnterRoom(roomid=1)
Message OnEnterRoom(roomid=1,errorcode=0,siteindex=4)
Message OnReceiveOnlineUser(count=7,roomid=1)
Invoke UserCameraControl(userid=-86135, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86135,bOpen=1)
On Remote UserCameraControl(dwUserId:-86121, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86121, bOpen:1)
On Remote UserCameraControl(dwUserId:-86046, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86046, bOpen:1)
On Remote UserCameraControl(dwUserId:-86090, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86090, bOpen:1)
WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
Audio codec init, handle:1, 11, 1, 16000, 16, 15850
Invoke UserCameraControl(userid=-86121, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=1)
Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
OnSocketClose, index(9)-errorcode(10053-0), flags:0x81, bTcp(1),userid(-1), list:0
Message OnVideoCallEvent(EventType:4, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:0
Message OnUserLeaveRoom(userid=-86121,siteindex=3)
Message OnUserLeaveRoom(userid=-86133,siteindex=0)
Message OnUserEnterRoom(userid=-86144,nickname=t,siteindex=0)
On Remote UserCameraControl(dwUserId:-86144, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86144, bOpen:1)
Message OnUserLeaveRoom(userid=-86144,siteindex=0)
Message OnUserEnterRoom(userid=-86150,nickname=name888,siteindex=0)
On Remote UserCameraControl(dwUserId:-86150, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86150, bOpen:1)
On Remote UserCameraControl(dwUserId:-86150, bOpen:0)
On Remote UserSpeakControl(dwUserId:-86150, bOpen:0)
****Open Local Video Fail,ErrorCode:10011
Invoke LeaveRoom(roomid=-86135) Elapse:298024 ms
Invoke UserCameraControl(userid=-86121, bOpen=0, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=0)
Invoke UserCameraControl(userid=-86121, bOpen=0, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=0)
Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-1,bOpen=1)
Message OnLinkClose(reason=0, dwErrorCode:100)
Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-1,bOpen=1)
CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
Message OnLoginSystem(userid=-86163,errorcode=0,username=nxj), msg deliver worked(1)
Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
Server running time: 52 days, 20 hours, 57 minutes, license mode:1
Object InitFlags:0x2
Area(10002) Object Event, unknow event:2, dwParam1:-86163
Invoke LogoutServer(userid=-86163) Elapse:78 ms
Invoke BRAC_Release Elapse:78 ms
佰锐科技-邵光清 发表于 2016-3-14 13:43
您好, userid(-86300) audio decode, codec:11, 1 channel, 16000Hz
声音应该是正常的,没有收到坐席 ...
---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load BRAnyChatCore.dll success!(V5.3 Build Time:Aug 10 2015 12:20:22)
Load BRMiscUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:50)
Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
Invoke Connect(demo.anychat.cn,8906)=0
Invoke LoginServer(username=nxj)
CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
Message OnConnect(bSuccess:1, errorcode=0)
Message OnLoginSystem(userid=-86135,errorcode=0,username=nxj), msg deliver worked(1)
Server running time: 52 days, 20 hours, 50 minutes, license mode:1
Object InitFlags:0x2
Area(10002) Object Event, unknow event:2, dwParam1:-86135
Area(10001) Object Event, Enter Result:0
Invoke VideoCallControl(EventType:1, UserId:-86121, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
Message OnVideoCallEvent(EventType:2, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:0
Warning: The UDP communication with the server abnormal!
Message OnVideoCallEvent(EventType:3, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:1
Invoke EnterRoom(roomid=1)
Message OnEnterRoom(roomid=1,errorcode=0,siteindex=4)
Message OnReceiveOnlineUser(count=7,roomid=1)
Invoke UserCameraControl(userid=-86135, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86135,bOpen=1)
On Remote UserCameraControl(dwUserId:-86121, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86121, bOpen:1)
On Remote UserCameraControl(dwUserId:-86046, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86046, bOpen:1)
On Remote UserCameraControl(dwUserId:-86090, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86090, bOpen:1)
WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
Audio codec init, handle:1, 11, 1, 16000, 16, 15850
Invoke UserCameraControl(userid=-86121, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=1)
Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
OnSocketClose, index(9)-errorcode(10053-0), flags:0x81, bTcp(1),userid(-1), list:0
Message OnVideoCallEvent(EventType:4, UserId:-86121, ErrorCode:0, dwFlags:0x0, dwParam:0
Message OnUserLeaveRoom(userid=-86121,siteindex=3)
Message OnUserLeaveRoom(userid=-86133,siteindex=0)
Message OnUserEnterRoom(userid=-86144,nickname=t,siteindex=0)
On Remote UserCameraControl(dwUserId:-86144, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86144, bOpen:1)
Message OnUserLeaveRoom(userid=-86144,siteindex=0)
Message OnUserEnterRoom(userid=-86150,nickname=name888,siteindex=0)
On Remote UserCameraControl(dwUserId:-86150, bOpen:1)
On Remote UserSpeakControl(dwUserId:-86150, bOpen:1)
On Remote UserCameraControl(dwUserId:-86150, bOpen:0)
On Remote UserSpeakControl(dwUserId:-86150, bOpen:0)
****Open Local Video Fail,ErrorCode:10011
Invoke LeaveRoom(roomid=-86135) Elapse:298024 ms
Invoke UserCameraControl(userid=-86121, bOpen=0, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=0)
Invoke UserCameraControl(userid=-86121, bOpen=0, stream=0)
Invoke UserSpeakControl(userid=-86121,bOpen=0)
Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-1,bOpen=1)
Message OnLinkClose(reason=0, dwErrorCode:100)
Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
Invoke UserSpeakControl(userid=-1,bOpen=1)
CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
Message OnLoginSystem(userid=-86163,errorcode=0,username=nxj), msg deliver worked(1)
Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
Server running time: 52 days, 20 hours, 57 minutes, license mode:1
Object InitFlags:0x2
Area(10002) Object Event, unknow event:2, dwParam1:-86163
Invoke LogoutServer(userid=-86163) Elapse:78 ms
Invoke BRAC_Release Elapse:78 ms
还有一个问题,请问一下用这个接口BRAC_TransFile发送文件,(.bmp图片,大小在50k左右),//temp/files文件夹里只有.bmp.tmp临时文件,大小0k,等了很久也传不过来。是网络原因还是什么原因呢? 有关文件传输的问题,请升级SDK到6.0版本,该版本有针对文件传输进行了优化。 admin 发表于 2016-3-14 14:56
有关文件传输的问题,请升级SDK到6.0版本,该版本有针对文件传输进行了优化。
跪求下载地址链接
页:
[1]
2