刚才又下了一个最新版的,可以了,谢谢了!(不过很奇怪,为了升级,早上在官网下了一个最新版本的,直接替换了js文件,在IE下测试可以,以为升级成功了,没想到还是版本弄混了,哎,我的失误,不过还是要谢谢你们的解答) |
梦十 发表于 2014-9-18 15:01 根据您的截图来判断,您的anychatsdk.js还是老版本,不是网上最新的版本,请确认。 |
梦十 发表于 2014-9-18 15:01 您好,您用的是老版本吧,新版本SDK只有BRAC_StreamRecordCtrlEx才有lpUserStr这个参数,是用来传入自定义参数的。 |
好的,那再测一下,谢谢了! |
您好,换了xp上的firefox,也不能录制,但是有log [2014-09-18 14:33:29(651)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2014-09-18 14:33:29(651)] Load BRAnyChatCore.dll success!(V5.1 Build Time:Sep 17 2014 22:21:20) [2014-09-18 14:33:29(683)] Load BRMiscUtil.dll success!(V5.1 Build Time:Sep 17 2014 22:19:36) [2014-09-18 14:33:29(683)] Load BRMediaUtil.dll success!(V5.1 Build Time:Sep 17 2014 22:19:39) [2014-09-18 14:33:29(683)] Load BRMediaShow.dll success!(V5.1 Build Time:Sep 17 2014 22:19:40) [2014-09-18 14:33:29(683)] Load BRMediaCore.dll success!(V5.1 Build Time:Sep 17 2014 22:19:59) [2014-09-18 14:33:29(854)] Invoke BRAC_Connect(172.16.18.9,8906)=0 [2014-09-18 14:33:29(854)] Invoke LoginServer(username=yqy) [2014-09-18 14:33:29(854)] Invoke EnterRoom(roomid=1) [2014-09-18 14:33:29(901)] CheckClientSocketLink Connect(ip=172.16.18.9,port=8906) [2014-09-18 14:33:30(058)] Server version: V5.1(Build Time:2014-09-17 22:20:35, Server OS:Windows) [2014-09-18 14:33:30(261)] Message OnConnect(bSuccess:1, errorcode=0) [2014-09-18 14:33:30(386)] Message OnLoginSystem(userid=-28,errorcode=0,username=yqy), msg deliver worked(1) [2014-09-18 14:33:30(433)] Connection to streaming media server successfully!(udp delay:23ms) [2014-09-18 14:33:30(651)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0) [2014-09-18 14:33:30(651)] Message OnReceiveOnlineUser(count=2,roomid=1) [2014-09-18 14:33:30(651)] On Remote UserCameraControl(dwUserId:-25, bOpen:1) [2014-09-18 14:33:30(651)] On Remote UserSpeakControl(dwUserId:-25, bOpen:1) [2014-09-18 14:33:30(667)] WaveIn Audio Capture Driver(Realtek HD Audio Input) [2014-09-18 14:33:30(667)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0 [2014-09-18 14:33:30(667)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850 [2014-09-18 14:33:30(667)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver [2014-09-18 14:33:30(792)] Invoke UserCameraControl(userid=-25,bOpen=1) [2014-09-18 14:33:30(792)] Invoke UserSpeakControl(userid=-25,bOpen=1) [2014-09-18 14:33:31(120)] Message OnP2PConnectState(userid=-25, state=1) [2014-09-18 14:33:31(261)] Message OnP2PConnectState(userid=-25, state=3) [2014-09-18 14:33:33(651)] userid(-25) video decode delay:0ms |
您好,log里面没有记录StreamRecordCtrl调用的日志,请确认: 1、请确认anychatsdk.js是否已经替换成功?是否有缓存? 2、使用另一个API接口:BRAC_StreamRecordCtrlEx,看是否可以正常录制? |
您好,谢谢了,我换了一台32位的xp系统,也是在Firefox下测的,不能录制,但是有log [2014-09-18 14:17:44(433)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2014-09-18 14:17:44(433)] Load BRAnyChatCore.dll success!(V5.1 Build Time:Sep 17 2014 22:21:20) [2014-09-18 14:17:44(464)] Load BRMiscUtil.dll success!(V5.1 Build Time:Sep 17 2014 22:19:36) [2014-09-18 14:17:44(464)] Load BRMediaUtil.dll success!(V5.1 Build Time:Sep 17 2014 22:19:39) [2014-09-18 14:17:44(479)] Load BRMediaShow.dll success!(V5.1 Build Time:Sep 17 2014 22:19:40) [2014-09-18 14:17:44(479)] Load BRMediaCore.dll success!(V5.1 Build Time:Sep 17 2014 22:19:59) [2014-09-18 14:17:44(558)] Invoke BRAC_Connect(172.16.18.9,8906)=0 [2014-09-18 14:17:44(558)] Invoke LoginServer(username=yqy) [2014-09-18 14:17:44(558)] Invoke EnterRoom(roomid=1) [2014-09-18 14:17:44(573)] CheckClientSocketLink Connect(ip=172.16.18.9,port=8906) [2014-09-18 14:17:44(698)] Server version: V5.1(Build Time:2014-09-17 22:20:35, Server OS:Windows) [2014-09-18 14:17:44(854)] Message OnConnect(bSuccess:1, errorcode=0) [2014-09-18 14:17:44(979)] Message OnLoginSystem(userid=-21,errorcode=0,username=yqy), msg deliver worked(1) [2014-09-18 14:17:45(026)] Connection to streaming media server successfully!(udp delay:23ms) [2014-09-18 14:17:45(151)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=1) [2014-09-18 14:17:45(151)] Message OnReceiveOnlineUser(count=2,roomid=1) [2014-09-18 14:17:45(151)] On Remote UserCameraControl(dwUserId:-20, bOpen:1) [2014-09-18 14:17:45(151)] On Remote UserSpeakControl(dwUserId:-20, bOpen:1) [2014-09-18 14:17:45(167)] WaveIn Audio Capture Driver(Realtek HD Audio Input) [2014-09-18 14:17:45(167)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0 [2014-09-18 14:17:45(167)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850 [2014-09-18 14:17:45(167)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver [2014-09-18 14:17:45(276)] Invoke UserCameraControl(userid=-20,bOpen=1) [2014-09-18 14:17:45(276)] Invoke UserSpeakControl(userid=-20,bOpen=1) [2014-09-18 14:17:45(620)] Message OnP2PConnectState(userid=-20, state=1) [2014-09-18 14:17:45(729)] Message OnP2PConnectState(userid=-20, state=3) [2014-09-18 14:17:50(745)] Invoke BRAC_TransFile(dwUserid=-20, dwTaskId:14721, PathName:C:\Program Files\BaiRuiTech\AnyChatWeb\BRAnyChatCore.log)=0 [2014-09-18 14:18:07(073)] userid(-20) video decode delay:0ms |
您好,用标准demo会不会生成日志文件?在标准demo上添加录制功能试试? |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-23 06:34 , Processed in 0.128520 second(s), 26 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.