测试 BRAnyChatMeeting.exe 时,本地摄像头打不开
现象为:日志记录为:
---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load BRAnyChatCore.dll success!(V7.0 Build Time:Feb5 2018 09:58:26)
Load BRMiscUtil.dll failed,SDK some functions will fail!(Error:126)
Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
server net link reset...
Invoke SetSDKOption(BRAC_SO_RECORD_VIDEOBR, 200kbps)
Invoke SetSDKOption(BRAC_SO_RECORD_AUDIOBR, 96kbps)
Start network engine(IPv4 mode)...
Invoke Connect(demo.anychat.cn,8906)=0
Invoke Login(username:1)=0
Create anychatdnsserver connect:121.199.51.198(8906)
On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
Start anychat server(121.199.51.198:8906) connect...
On connect anychat server return, errorcode: 0, appflags:0x460080, svrflags:0x10
m_ProtocolPipeLine, userid:0, local session:-206150469, peer session:0
Send login request...
Message OnConnect(errorcode=0), session:3BCD18AD-15C0-4B69-B0F3-2F13B884CDCF
On tcp connect app reg result, errorcode:0
Message OnLoginSystem(userid=5902, errorcode=0, username=1)
Load BRMediaUtil.dll failed,multimedia functions will fail!(Error:126)
Load BRMediaShow.dll failed,video display functions will fail!(Error:126)
Load BRMediaCore.dll failed,SDK some functions will fail!(Error:126)
Apply server config: mtu:1500, stream trans mode:0
Server running time: 53 days, 2 hours, 18 minutes, license mode:1, cert:(lo:0x9feffff, hi:0xf7f)
Server supports the session hold feature for up to 30000 ms
On udp connect app reg result, errorcode:0
Connection to streaming media server(121.199.51.198:8907) successfully!(udp delay:55ms)
Invoke EnterRoom(roomid=1)
Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
Message OnReceiveOnlineUser(count=1,roomid=1)
Invoke UserSpeakControl(userid=5902, bOpen=1) = 0
Invoke UserCameraControl(userid=5902, bOpen=1) = 0
Invoke SetVideoPos(dwUserId:5902, hWnd:0x50d20, l:27, t:26, r:165, b:130, dwStreamIndex:0)
Invoke UserSpeakControl(userid=5902, bOpen=0) = 0
Invoke UserCameraControl(userid=5902, bOpen=0) = 0
Prepare leaveroom......
userid(-1) statist info, video fps:0, video count:0, audio count:0
Invoke LeaveRoom(roomid=-1)=0 Elapse:0 ms
Prepare release......
Close network engine...
server net link reset...
server net link reset...
Invoke BRAC_Release Elapse:234 ms
126就是目录里没有那个库文件,您需要把\bin\client 目录下文件拷贝到程序的同一级目录下
页:
[1]