设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

web端为什么一直连接不上服务器,无法建立到 ws://192.168.0.108:8906/ 服务器的连接

查看数: 24378 | 评论数: 34 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-12-1 16:10

正文摘要:

现在服务器端部署成功了,通过 windows版本中的demo 的BRAnyChatMeeting.exe登录的也能访问到,但是web端的一直连接不上,是什么原因呢?Firefox 无法建立到 ws://192.168.0.108:8906/ 服务器的连接。 它一直显示这 ...

回复

佰锐科技-邵光清 发表于 2016-12-2 18:34:41
[2016-12-02 12:18:20(989)][I]        Load BRMiscUtil.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
库没加载,请将windows SDK包中的bin--client目录下的所有dll库添加到exe程序下即可;
小k一把 发表于 2016-12-5 11:31:50
OK了,谢谢大神!
小k一把 发表于 2016-12-5 11:17:10
佰锐科技-邵光清 发表于 2016-12-2 18:34
[2016-12-02 12:18:20(989)]        Load BRMiscUtil.dll failed,SDK some functions will fail!(Error:126 ...

我想问下,那个是怎么添加,直接放置到exe文件同级目录下就行吗?
小k一把 发表于 2016-12-2 16:54:19
佰锐科技-梁国桦 发表于 2016-12-2 16:33
意思是您在服务器也启动了一个客户端对吧?然后这个客户端看不到对方,发一下这个客户端的日志来看看呢

是窗口客户端的demo
[2016-12-02 12:18:20(989)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-12-02 12:18:20(989)][I]        Load BRAnyChatCore.dll success!(V6.2 Build Time:Nov 23 2016 15:54:46)
[2016-12-02 12:18:20(989)][I]        Load BRMiscUtil.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2016-12-02 12:18:20(989)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 12:18:23(984)][I]        Start network engine(IPv4 mode)...
[2016-12-02 12:18:23(984)][I]        Invoke        Connect(192.168.0.120,8906)=0
[2016-12-02 12:18:23(999)][I]        Invoke        Login(username:xuxiaotian)=0
[2016-12-02 12:18:24(015)][I]        Create anychatdnsserver connect:192.168.0.120(8906)
[2016-12-02 12:18:24(171)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 192.168.0.120(8906, tcp:1)
[2016-12-02 12:18:24(171)][I]        CheckClientSocketLink         Connect(ip=192.168.0.120,port=8906)
[2016-12-02 12:18:24(249)][I]        OnSocketClose, index(2)-errorcode(10053-0), flags:0x10441, bTcp(1),userid(-1), list:0

[2016-12-02 12:18:24(358)][I]        Message        OnConnect(bSuccess:0, errorcode=100)
[2016-12-02 12:18:26(277)][I]        CheckClientSocketLink         Connect(ip=192.168.0.120,port=8906)
[2016-12-02 12:18:26(386)][I]        On connect return, errorcode:0
[2016-12-02 12:18:26(449)][I]        Server version: V6.2(Build Time:2016-11-23 15:59:46, Windows server)
[2016-12-02 12:18:26(464)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-12-02 12:18:26(511)][I]        Message        OnLoginSystem(userid=-7,errorcode=0,username=xuxiaotian), msg deliver worked(1)
[2016-12-02 12:18:26(511)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2016-12-02 12:18:26(511)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2016-12-02 12:18:26(511)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 12:18:26(511)][I]        Server running time: 0 days, 2 hours, 6 minutes, license mode:0, cloud:0
[2016-12-02 12:18:26(573)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2016-12-02 12:18:38(944)][I]        Invoke        EnterRoom(roomid=1)
[2016-12-02 12:18:39(069)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-12-02 12:18:39(069)][I]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2016-12-02 12:18:39(085)][I]        Invoke        UserSpeakControl(userid=-7,bOpen=1)
[2016-12-02 12:18:39(100)][I]        Invoke        UserCameraControl(userid=-7, bOpen=1, stream=0)
[2016-12-02 12:18:39(100)][I]        Invoke        SetVideoPos(dwUserId:-7, hWnd:0x50ea8, l:27, t:26, r:165, b:130, dwStreamIndex:0)
[2016-12-02 12:33:26(351)][I]        OnSocketClose, index(2)-errorcode(0-0), flags:0x10441, bTcp(1),userid(-1), list:0

[2016-12-02 12:33:26(351)][I]        Invoke        LeaveRoom(roomid=-1)        Elapse:0 ms
[2016-12-02 12:33:26(351)][I]        Message        OnLinkClose(reason=2, dwErrorCode:105)
[2016-12-02 12:33:26(398)][I]        Close network engine...
[2016-12-02 12:33:26(398)][I]        Invoke        UserSpeakControl(userid=-7,bOpen=0)
[2016-12-02 12:33:26(398)][I]        Invoke        UserCameraControl(userid=-7, bOpen=0, stream=0)
[2016-12-02 12:33:26(413)][I]        Invoke        LogoutServer(userid=-7)        Elapse:16 ms
[2016-12-02 14:19:26(732)][I]        Start network engine(IPv4 mode)...
[2016-12-02 14:19:26(732)][I]        Invoke        Connect(192.168.0.120,8906)=0
[2016-12-02 14:19:26(732)][I]        Invoke        Login(username:xuxiaotian)=0
[2016-12-02 14:19:26(747)][I]        Create anychatdnsserver connect:192.168.0.120(8906)
[2016-12-02 14:19:26(825)][I]        OnSocketClose, index(2)-errorcode(0-0), flags:0x18401, bTcp(1),userid(-1), list:0

[2016-12-02 14:19:36(762)][I]        Connect anychatdnsserver timeout, errorcode:100
[2016-12-02 14:19:36(762)][I]        Message        OnConnect(bSuccess:0, errorcode=100)
[2016-12-02 14:19:39(960)][I]        Invoke        Connect(192.168.0.120,8906)=0
[2016-12-02 14:19:39(976)][I]        Invoke        Login(username:xuxiaotian)=0
[2016-12-02 14:19:41(021)][I]        Create anychatdnsserver connect:192.168.0.120(8906)
[2016-12-02 14:19:41(193)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 192.168.0.120(8906, tcp:1)
[2016-12-02 14:19:41(193)][I]        CheckClientSocketLink         Connect(ip=192.168.0.120,port=8906)
[2016-12-02 14:19:41(271)][I]        OnSocketClose, index(2)-errorcode(0-0), flags:0x10441, bTcp(1),userid(-1), list:0

[2016-12-02 14:19:46(294)][I]        CheckClientSocketLink         Connect(ip=192.168.0.120,port=8906)
[2016-12-02 14:19:46(403)][I]        On connect return, errorcode:0
[2016-12-02 14:19:46(450)][I]        Server version: V6.2(Build Time:2016-11-23 15:59:46, Windows server)
[2016-12-02 14:19:46(450)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-12-02 14:19:46(513)][I]        Message        OnLoginSystem(userid=-8,errorcode=0,username=xuxiaotian), msg deliver worked(1)
[2016-12-02 14:19:46(513)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2016-12-02 14:19:46(513)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2016-12-02 14:19:46(513)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 14:19:46(513)][I]        Server running time: 0 days, 4 hours, 7 minutes, license mode:0, cloud:0
[2016-12-02 14:19:46(575)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2016-12-02 14:19:48(431)][I]        Invoke        EnterRoom(roomid=1)
[2016-12-02 14:19:48(572)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-12-02 14:19:48(572)][I]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2016-12-02 14:19:48(587)][I]        Invoke        UserSpeakControl(userid=-8,bOpen=1)
[2016-12-02 14:19:48(587)][I]        Invoke        UserCameraControl(userid=-8, bOpen=1, stream=0)
[2016-12-02 14:19:48(587)][I]        Invoke        SetVideoPos(dwUserId:-8, hWnd:0x50ea8, l:27, t:26, r:165, b:130, dwStreamIndex:0)
[2016-12-02 14:20:38(960)][I]        Message        OnUserEnterRoom(userid=2,nickname=xuxiaotian,siteindex=1)
[2016-12-02 14:20:38(960)][I]        Invoke        UserSpeakControl(userid=2,bOpen=1)
[2016-12-02 14:20:38(960)][I]        Invoke        UserCameraControl(userid=2, bOpen=1, stream=0)
[2016-12-02 14:20:38(960)][I]        Invoke        SetVideoPos(dwUserId:2, hWnd:0x50e9c, l:105, t:26, r:487, b:312, dwStreamIndex:0)
[2016-12-02 14:20:39(365)][I]        On Remote UserCameraControl(dwUserId:2, bOpen:1)
[2016-12-02 14:20:39(365)][I]        On Remote UserSpeakControl(dwUserId:2, bOpen:1)
[2016-12-02 14:20:39(615)][I]        Message        OnP2PConnectState(userid=2, state=1)
[2016-12-02 14:20:39(787)][I]        Message        OnP2PConnectState(userid=2, state=3)
[2016-12-02 14:25:42(739)][I]        Message        OnUserLeaveRoom(userid=2,siteindex=1)
[2016-12-02 14:25:42(739)][I]        Invoke        UserSpeakControl(userid=2,bOpen=0)
[2016-12-02 14:25:42(739)][I]        Invoke        UserCameraControl(userid=2, bOpen=0, stream=0)
[2016-12-02 14:26:02(083)][I]        OnSocketClose, index(3)-errorcode(0-10035), flags:0x81, bTcp(1),userid(2), list:0

[2016-12-02 14:26:02(083)][I]        OnSocketClose, index(3)-errorcode(0-0), flags:0x181, bTcp(1),userid(2), list:0

[2016-12-02 14:34:46(197)][I]        OnSocketClose, index(2)-errorcode(0-0), flags:0x10441, bTcp(1),userid(-1), list:0

[2016-12-02 14:34:46(197)][I]        Invoke        LeaveRoom(roomid=-1)        Elapse:0 ms
[2016-12-02 14:34:46(197)][I]        Message        OnLinkClose(reason=2, dwErrorCode:105)
[2016-12-02 14:34:46(244)][I]        Close network engine...
[2016-12-02 14:34:46(244)][I]        Invoke        UserSpeakControl(userid=-8,bOpen=0)
[2016-12-02 14:34:46(244)][I]        Invoke        UserCameraControl(userid=-8, bOpen=0, stream=0)
[2016-12-02 14:34:46(244)][I]        Invoke        LogoutServer(userid=-8)        Elapse:0 ms
[2016-12-02 16:08:39(960)][I]        Start network engine(IPv4 mode)...
[2016-12-02 16:08:39(960)][I]        Invoke        Connect(192.168.0.120,8906)=0
[2016-12-02 16:08:39(976)][I]        Invoke        Login(username:xuxiaotian)=0
[2016-12-02 16:08:39(976)][I]        Create anychatdnsserver connect:192.168.0.120(8906)
[2016-12-02 16:08:40(147)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 192.168.0.120(8906, tcp:1)
[2016-12-02 16:08:40(147)][I]        CheckClientSocketLink         Connect(ip=192.168.0.120,port=8906)
[2016-12-02 16:08:40(256)][I]        On connect return, errorcode:0
[2016-12-02 16:08:40(319)][I]        Server version: V6.2(Build Time:2016-11-23 15:59:46, Windows server)
[2016-12-02 16:08:40(319)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-12-02 16:08:40(381)][I]        Message        OnLoginSystem(userid=-10,errorcode=0,username=xuxiaotian), msg deliver worked(1)
[2016-12-02 16:08:40(381)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2016-12-02 16:08:40(381)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2016-12-02 16:08:40(381)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2016-12-02 16:08:40(381)][I]        Server running time: 0 days, 5 hours, 56 minutes, license mode:0, cloud:0
[2016-12-02 16:08:40(444)][I]        Connection to streaming media server successfully!(udp delay:31ms)
[2016-12-02 16:08:41(801)][I]        Invoke        EnterRoom(roomid=1)
[2016-12-02 16:08:41(941)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=2)
[2016-12-02 16:08:41(941)][I]        Message        OnReceiveOnlineUser(count=3,roomid=1)
[2016-12-02 16:08:41(957)][I]        Invoke        UserSpeakControl(userid=-10,bOpen=1)
[2016-12-02 16:08:41(957)][I]        Invoke        UserCameraControl(userid=-10, bOpen=1, stream=0)
[2016-12-02 16:08:41(957)][I]        Invoke        SetVideoPos(dwUserId:-10, hWnd:0x50ea8, l:27, t:26, r:165, b:130, dwStreamIndex:0)
[2016-12-02 16:08:41(972)][I]        Invoke        UserSpeakControl(userid=20,bOpen=1)
[2016-12-02 16:08:41(972)][I]        Invoke        UserCameraControl(userid=20, bOpen=1, stream=0)
[2016-12-02 16:08:41(972)][I]        Invoke        SetVideoPos(dwUserId:20, hWnd:0x50e9c, l:105, t:26, r:487, b:312, dwStreamIndex:0)
[2016-12-02 16:08:42(331)][I]        Message        OnP2PConnectState(userid=-9, state=1)
[2016-12-02 16:08:42(799)][I]        Message        OnP2PConnectState(userid=20, state=1)
[2016-12-02 16:08:42(846)][I]        Message        OnP2PConnectState(userid=-9, state=3)
[2016-12-02 16:08:43(798)][I]        Message        OnP2PConnectState(userid=20, state=3)
[2016-12-02 16:11:22(653)][I]        OnSocketClose, index(3)-errorcode(0-0), flags:0x10481, bTcp(1),userid(-9), list:0

[2016-12-02 16:11:22(668)][I]        Message        OnP2PConnectState(userid=-9, state=2)
[2016-12-02 16:11:22(684)][I]        Message        OnUserLeaveRoom(userid=-9,siteindex=1)
[2016-12-02 16:11:22(840)][I]        On Remote UserCameraControl(dwUserId:20, bOpen:1)
[2016-12-02 16:11:23(058)][I]        On Remote UserSpeakControl(dwUserId:20, bOpen:1)
[2016-12-02 16:11:58(923)][I]        Message        OnUserEnterRoom(userid=-11,nickname=q,siteindex=1)
[2016-12-02 16:11:59(438)][I]        Message        OnP2PConnectState(userid=-11, state=1)
[2016-12-02 16:11:59(968)][I]        Message        OnP2PConnectState(userid=-11, state=3)
[2016-12-02 16:13:22(866)][I]        OnSocketClose, index(4)-errorcode(0-0), flags:0x81, bTcp(1),userid(-11), list:0

[2016-12-02 16:13:22(882)][I]        Message        OnP2PConnectState(userid=-11, state=2)
[2016-12-02 16:13:22(898)][I]        Message        OnUserLeaveRoom(userid=-11,siteindex=1)
[2016-12-02 16:19:10(100)][I]        Message        OnUserLeaveRoom(userid=20,siteindex=0)
[2016-12-02 16:19:10(100)][I]        Invoke        UserSpeakControl(userid=20,bOpen=0)
[2016-12-02 16:19:10(100)][I]        Invoke        UserCameraControl(userid=20, bOpen=0, stream=0)
[2016-12-02 16:19:10(412)][I]        OnSocketClose, index(3)-errorcode(0-0), flags:0x10481, bTcp(1),userid(20), list:0

[2016-12-02 16:21:28(172)][I]        Message        OnUserEnterRoom(userid=-12,nickname=wangxiaoming,siteindex=0)
[2016-12-02 16:21:28(175)][I]        Invoke        UserSpeakControl(userid=-12,bOpen=1)
[2016-12-02 16:21:28(178)][I]        Invoke        UserCameraControl(userid=-12, bOpen=1, stream=0)
[2016-12-02 16:21:28(182)][I]        Invoke        SetVideoPos(dwUserId:-12, hWnd:0x50e9c, l:105, t:26, r:487, b:312, dwStreamIndex:0)
[2016-12-02 16:21:28(294)][I]        On Remote UserCameraControl(dwUserId:-12, bOpen:1)
[2016-12-02 16:21:28(295)][I]        On Remote UserSpeakControl(dwUserId:-12, bOpen:1)
[2016-12-02 16:21:28(447)][I]        Message        OnP2PConnectState(userid=-12, state=2)
[2016-12-02 16:21:28(860)][I]        Message        OnP2PConnectState(userid=-12, state=3)
[2016-12-02 16:21:58(288)][I]        Message        OnUserEnterRoom(userid=21,nickname=xuxiaotian,siteindex=1)
[2016-12-02 16:21:58(821)][I]        Message        OnP2PConnectState(userid=21, state=1)
[2016-12-02 16:21:59(333)][I]        Message        OnP2PConnectState(userid=21, state=3)
[2016-12-02 16:22:34(083)][I]        Message        OnUserLeaveRoom(userid=-12,siteindex=0)
[2016-12-02 16:22:34(083)][I]        Invoke        UserSpeakControl(userid=-12,bOpen=0)
[2016-12-02 16:22:34(083)][I]        Invoke        UserCameraControl(userid=-12, bOpen=0, stream=0)
[2016-12-02 16:22:34(083)][I]        Invoke        UserSpeakControl(userid=21,bOpen=1)
[2016-12-02 16:22:34(083)][I]        Invoke        UserCameraControl(userid=21, bOpen=1, stream=0)
[2016-12-02 16:22:34(099)][I]        Invoke        SetVideoPos(dwUserId:21, hWnd:0x50e9c, l:105, t:26, r:487, b:312, dwStreamIndex:0)
[2016-12-02 16:22:34(115)][I]        OnSocketClose, index(3)-errorcode(0-0), flags:0x81, bTcp(1),userid(-12), list:0

[2016-12-02 16:22:34(130)][I]        On Remote UserCameraControl(dwUserId:21, bOpen:1)
[2016-12-02 16:22:34(130)][I]        On Remote UserSpeakControl(dwUserId:21, bOpen:1)
[2016-12-02 16:23:40(508)][I]        OnSocketClose, index(2)-errorcode(0-0), flags:0x10441, bTcp(1),userid(-1), list:0

[2016-12-02 16:23:40(508)][I]        Invoke        LeaveRoom(roomid=-1)        Elapse:0 ms
[2016-12-02 16:23:40(508)][I]        Message        OnLinkClose(reason=2, dwErrorCode:105)
[2016-12-02 16:23:40(540)][I]        Close network engine...
[2016-12-02 16:23:40(540)][I]        Invoke        UserSpeakControl(userid=-10,bOpen=0)
[2016-12-02 16:23:40(540)][I]        Invoke        UserCameraControl(userid=-10, bOpen=0, stream=0)
[2016-12-02 16:23:40(540)][I]        Invoke        UserSpeakControl(userid=21,bOpen=0)
[2016-12-02 16:23:40(540)][I]        Invoke        UserCameraControl(userid=21, bOpen=0, stream=0)
[2016-12-02 16:23:40(555)][I]        Invoke        LogoutServer(userid=-10)        Elapse:0 ms
[2016-12-02 16:50:37(826)][I]        Invoke        BRAC_Release        Elapse:62 ms
佰锐科技-梁国桦 发表于 2016-12-2 16:33:26
小k一把 发表于 2016-12-2 16:03
服务器的是哪个日志啊?

意思是您在服务器也启动了一个客户端对吧?然后这个客户端看不到对方,发一下这个客户端的日志来看看呢
小k一把 发表于 2016-12-2 16:32:47
佰锐科技-邵光清 发表于 2016-12-2 16:29
在Anychat插件安装目录下: BRAnyChatCore.log在本地两个pc之间视频通讯,是OK的不

嗯,现在确定能用了,但是服务器的就是一直看不到图像,不知所以了。。。windows下的客户端的demo的窗口客户端,也需要装插件才能看吗?
佰锐科技-邵光清 发表于 2016-12-2 16:29:56
小k一把 发表于 2016-12-2 16:03
服务器的是哪个日志啊?

在Anychat插件安装目录下: BRAnyChatCore.log在本地两个pc之间视频通讯,是OK的不
小k一把 发表于 2016-12-2 16:03:06
小k一把 发表于 2016-12-2 16:02
不是,那边是服务器,没有摄像头,但是我自己有摄像头的,那边看不到我摄像头的画面

服务器的是哪个日志啊?
小k一把 发表于 2016-12-2 16:02:34
佰锐科技-邵光清 发表于 2016-12-2 15:52
只有一方的日志吗?现在这个日志显示都正常,对方应该可以看到本地了;对方是否有摄像头、麦克风?
难道 ...

不是,那边是服务器,没有摄像头,但是我自己有摄像头的,那边看不到我摄像头的画面

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-23 02:53 , Processed in 0.140441 second(s), 25 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表