AnyChat技术支持论坛

标题: 测试 BRAnyChatMeeting.exe 时,本地摄像头打不开 [打印本页]

作者: 无知少年    时间: 2018-3-13 12:35
标题: 测试 BRAnyChatMeeting.exe 时,本地摄像头打不开
现象为:


日志记录为:
[2018-03-13 12:30:02(177)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2018-03-13 12:30:02(178)][I]        Load BRAnyChatCore.dll success!(V7.0 Build Time:Feb  5 2018 09:58:26)
[2018-03-13 12:30:02(184)][I]        Load BRMiscUtil.dll failed,SDK some functions will fail!(Error:126)
[2018-03-13 12:30:02(192)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2018-03-13 12:30:02(197)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2018-03-13 12:30:02(202)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2018-03-13 12:30:02(213)][I]        server net link reset...
[2018-03-13 12:30:02(223)][I]        Invoke        SetSDKOption(BRAC_SO_RECORD_VIDEOBR, 200kbps)
[2018-03-13 12:30:02(224)][I]        Invoke        SetSDKOption(BRAC_SO_RECORD_AUDIOBR, 96kbps)
[2018-03-13 12:30:05(636)][I]        Start network engine(IPv4 mode)...
[2018-03-13 12:30:05(639)][I]        Invoke        Connect(demo.anychat.cn,8906)=0
[2018-03-13 12:30:05(639)][I]        Invoke        Login(username:1)=0
[2018-03-13 12:30:05(747)][I]        Create anychatdnsserver connect:121.199.51.198(8906)
[2018-03-13 12:30:06(062)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2018-03-13 12:30:06(178)][I]        Start anychat server(121.199.51.198:8906) connect...
[2018-03-13 12:30:06(697)][I]        On connect anychat server return, errorcode: 0, appflags:0x460080, svrflags:0x10
[2018-03-13 12:30:06(812)][I]        m_ProtocolPipeLine, userid:0, local session:-206150469, peer session:0
[2018-03-13 12:30:06(812)][I]        Send login request...
[2018-03-13 12:30:06(813)][I]        Message        OnConnect(errorcode=0), session:3BCD18AD-15C0-4B69-B0F3-2F13B884CDCF
[2018-03-13 12:30:07(273)][I]        On tcp connect app reg result, errorcode:0
[2018-03-13 12:30:07(376)][I]        Message        OnLoginSystem(userid=5902, errorcode=0, username=1)
[2018-03-13 12:30:07(381)][I]        Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
[2018-03-13 12:30:07(386)][I]        Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
[2018-03-13 12:30:07(393)][I]        Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
[2018-03-13 12:30:07(394)][I]        Apply server config: mtu:1500, stream trans mode:0
[2018-03-13 12:30:07(395)][I]        Server running time: 53 days, 2 hours, 18 minutes, license mode:1, certlo:0x9feffff, hi:0xf7f)
[2018-03-13 12:30:07(395)][I]        Server supports the session hold feature for up to 30000 ms
[2018-03-13 12:30:07(503)][I]        On udp connect app reg result, errorcode:0
[2018-03-13 12:30:07(504)][I]        Connection to streaming media server(121.199.51.198:8907) successfully!(udp delay:55ms)
[2018-03-13 12:30:09(176)][I]        Invoke        EnterRoom(roomid=1)
[2018-03-13 12:30:09(439)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2018-03-13 12:30:09(440)][I]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2018-03-13 12:30:09(491)][I]        Invoke        UserSpeakControl(userid=5902, bOpen=1) = 0
[2018-03-13 12:30:09(492)][I]        Invoke        UserCameraControl(userid=5902, bOpen=1) = 0
[2018-03-13 12:30:09(493)][I]        Invoke        SetVideoPos(dwUserId:5902, hWnd:0x50d20, l:27, t:26, r:165, b:130, dwStreamIndex:0)
[2018-03-13 12:30:34(000)][I]        Invoke        UserSpeakControl(userid=5902, bOpen=0) = 0
[2018-03-13 12:30:34(000)][I]        Invoke        UserCameraControl(userid=5902, bOpen=0) = 0
[2018-03-13 12:30:34(001)][I]        Prepare leaveroom......
[2018-03-13 12:30:34(002)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2018-03-13 12:30:34(002)][I]        Invoke        LeaveRoom(roomid=-1)=0        Elapse:0 ms
[2018-03-13 12:30:35(418)][I]        Prepare release......
[2018-03-13 12:30:35(507)][I]        Close network engine...
[2018-03-13 12:30:35(508)][I]        server net link reset...
[2018-03-13 12:30:35(714)][I]        server net link reset...
[2018-03-13 12:30:35(714)][I]        Invoke        BRAC_Release        Elapse:234 ms


作者: 佰锐科技-刘冬明    时间: 2018-3-13 17:56
126就是目录里没有那个库文件,您需要把\bin\client 目录下文件拷贝到程序的同一级目录下




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