AnyChat技术支持论坛
标题:
关于WEB的视频录制,在线等,很急。。。
[打印本页]
作者:
johneyson
时间:
2016-11-28 13:15
标题:
关于WEB的视频录制,在线等,很急。。。
.NET调试模式下可以
放到IIS上时候,有录制界面(没有接摄像头),但是点击录制结束时,没有跳转到录制成功界面。发现原因是
OnAnyChatRecordSnapShot这个方法没有被触发,日志文件为:
[2016-11-28 12:49:35(242)][I] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-11-28 12:49:35(242)][I] Load BRAnyChatCore.dll success!(V6.2 Build Time:Nov 20 2016 13:42:22)
[2016-11-28 12:49:35(242)][I] Load BRMiscUtil.dll success!(V6.2 Build Time:Nov 20 2016 13:44:17)
[2016-11-28 12:49:35(286)][I] Load BRMediaUtil.dll success!(V6.2 Build Time:Nov 20 2016 13:41:38)
[2016-11-28 12:49:35(288)][I] Load BRMediaShow.dll success!(V6.2 Build Time:Nov 20 2016 13:44:22)
[2016-11-28 12:49:35(291)][I] Load BRMediaCore.dll success!(V6.2 Build Time:Nov 20 2016 13:44:35)
[2016-11-28 12:49:35(317)][I] Start network engine(IPv4 mode)...
[2016-11-28 12:49:35(318)][I] Invoke Connect(26.28.189.118,8906)=0
[2016-11-28 12:49:35(319)][I] Invoke Login(username:1.00)=0
[2016-11-28 12:49:35(320)][I] Create anychatdnsserver connect:26.28.189.118(8906)
[2016-11-28 12:49:35(321)][I] Invoke EnterRoom(roomid=3)
[2016-11-28 12:49:35(479)][I] On pre-connection result, errorcode:0, anychatcoreserver, 26.28.189.118(8906, tcp:1)
[2016-11-28 12:49:35(480)][I] CheckClientSocketLink Connect(ip=26.28.189.118,port=8906)
[2016-11-28 12:49:35(581)][I] On connect return, errorcode:0
[2016-11-28 12:49:35(628)][I] Server version: V6.2(Build Time:2016-11-23 15:59:46, Windows server)
[2016-11-28 12:49:35(628)][I] Message OnConnect(bSuccess:1, errorcode=0)
[2016-11-28 12:49:35(681)][I] Message OnLoginSystem(userid=-14,errorcode=0,username=1.00), msg deliver worked(1)
[2016-11-28 12:49:35(681)][I] Server running time: 0 days, 0 hours, 19 minutes, license mode:0, cloud:0
[2016-11-28 12:49:35(743)][I] Connection to streaming media server successfully!(udp delay:31ms)
[2016-11-28 12:49:35(743)][I] Message OnEnterRoom(roomid=3,errorcode=0,siteindex=0)
[2016-11-28 12:49:35(743)][I] Message OnReceiveOnlineUser(count=1,roomid=3)
[2016-11-28 12:49:35(743)][I] Apply video parameter:320x240, bitrate:1000kbps, quality:5, gop:60, fps:15, preset:5, codec:1
[2016-11-28 12:49:35(743)][I] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-11-28 12:49:35(761)][I] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2016-11-28 12:49:35(767)][I] ****Open Local Video Fail,ErrorCode:10011
[2016-11-28 12:49:35(767)][I] Audio Capture(Driver:3, ) Init Failed:10500, (6.1.7600[1537])
[2016-11-28 12:49:35(768)][I] Audio Init, error:10500, device:0, 0, 0, 0, capmode:0
[2016-11-28 12:49:35(768)][I] Audio Playback Device Init(10500, 2, 44100, 16), WaveOut Playback Driver
[2016-11-28 12:49:37(791)][I] Invoke StreamRecordCtrlEx(-1, 1, 0x3, 0, )=0
[2016-11-28 12:49:42(270)][I] Invoke StreamRecordCtrlEx(-1, 0, 0x3, 0, )=0
[2016-11-28 12:49:43(573)][I] Invoke LeaveRoom(roomid=-1) Elapse:0 ms
[2016-11-28 12:49:44(056)][I] Close network engine...
[2016-11-28 12:49:44(088)][I] Invoke LogoutServer(userid=-14) Elapse:140 ms
[2016-11-28 12:49:44(150)][I] Invoke BRAC_Release Elapse:63 ms
在线等,很急
作者:
佰锐科技-邵光清
时间:
2016-11-28 13:53
[2016-11-28 12:49:37(791)][I] Invoke StreamRecordCtrlEx(-1, 1, 0x3, 0, )=0
[2016-11-28 12:49:42(270)][I] Invoke StreamRecordCtrlEx(-1, 0, 0x3, 0, )=0
录像的缓冲时间是5s,所以录像要超过5s才行,您这里还不到5s;
作者:
johneyson
时间:
2016-11-28 14:03
我停了10秒还是不行,不会触发事件
作者:
johneyson
时间:
2016-11-28 14:04
在一台笔记本上调试模式是可以的,服务器是内网的,就不行了
作者:
佰锐科技-邵光清
时间:
2016-11-28 14:20
johneyson 发表于 2016-11-28 14:04
在一台笔记本上调试模式是可以的,服务器是内网的,就不行了
请在OnAnyChatRecordSnapShotEx2中输出dwErrorCode是什么
作者:
johneyson
时间:
2016-11-28 14:20
估计是必须要硬件
作者:
佰锐科技-邵光清
时间:
2016-11-28 14:24
[2016-11-28 12:49:35(767)][I] ****Open Local Video Fail,ErrorCode:10011
[2016-11-28 12:49:35(767)][I] Audio Capture(Driver:3, ) Init Failed:10500, (6.1.7600[1537])
本地没有摄像头没有麦克风,所以录像不成功,不会触发回调。
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3