AnyChat技术支持论坛

标题: 新手想问下关于视频录制的问题,求大神 [打印本页]

作者: anychatqyc    时间: 2017-10-19 13:05
标题: 新手想问下关于视频录制的问题,求大神
BRAC_StreamRecordCtrl(mSelfUserId, 1, 7, 123456)开始录像
BRAC_StreamRecordCtrl(mSelfUserId, 0, 7, 123456)结束录像
这两种都会触发OnAnyChatRecordSnapShot  这个回调函数吗,触发的机制是怎么样的,然后OnAnyChatRecordSnapShot这个函数返回的录像地址为空是否意味着录像失败了





作者: 佰锐科技-刘冬明    时间: 2017-10-19 13:58
您好,客户端调用API:StreamRecordCtrl录像完成之后,将会触发该回调事件。一般情况下结束录像,录像完成之后会触发此回调。
该回调函数为录像快照任务完成通知回调函数,如果有回调,录像地址一般情况下不会为空的,如果为空,就需要对相关日志进行分析排查才可以知道具体问题情况。
作者: anychatqyc    时间: 2017-10-19 14:26
这部份日志是在服务器端的还是在客户端插件安装目录呢
作者: 佰锐科技-刘冬明    时间: 2017-10-19 14:32
在客户端插件安装目录下。BRAnyChatCore.log
作者: anychatqyc    时间: 2017-10-19 15:21
[2017-10-19 15:16:06(201)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-10-19 15:16:06(202)][I]        Load BRAnyChatCore.dll success!(V5.2 Build Time:Jun 16 2015 16:13:02)
[2017-10-19 15:16:06(206)][I]        Load BRMiscUtil.dll success!(V5.2 Build Time:Jun 16 2015 16:13:30)
[2017-10-19 15:16:06(279)][I]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jun 16 2015 16:12:44)
[2017-10-19 15:16:06(281)][I]        Load BRMediaShow.dll success!(V5.2 Build Time:Jun 16 2015 16:13:28)
[2017-10-19 15:16:06(282)][I]        Load BRMediaCore.dll success!(V5.2 Build Time:Jun 16 2015 16:13:42)
[2017-10-19 15:16:07(236)][I]        Invoke        BRAC_Connect(192.250.107.29,8906)=0
[2017-10-19 15:16:07(251)][I]        CheckClientSocketLink         Connect(ip=192.250.107.29,port=8906)
[2017-10-19 15:16:07(384)][I]        Server version: V6.4(Build Time:2017-05-24 13:03:11, Server OS:Windows)
[2017-10-19 15:16:07(417)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-10-19 15:16:07(429)][I]        Invoke        LoginServer(username=user10010117)
[2017-10-19 15:16:07(770)][I]        Message        OnLoginSystem(userid=10010117,errorcode=0,username=user10010117), msg deliver worked(1)
[2017-10-19 15:16:07(770)][I]        Server running time: 55 days, 4 hours, 52 minutes, license mode:0
[2017-10-19 15:16:07(782)][I]        Invoke        EnterRoom(roomid=10010117)
[2017-10-19 15:16:07(815)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2017-10-19 15:16:07(882)][I]        Message        OnEnterRoom(roomid=10010117,errorcode=0,siteindex=0)
[2017-10-19 15:16:07(885)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10010117)
[2017-10-19 15:16:07(898)][I]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-19 15:16:07(943)][I]        WaveIn Audio Capture Driver(麦克风阵列 (Realtek Audio))
[2017-10-19 15:16:07(944)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-10-19 15:16:07(944)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-19 15:16:07(944)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2017-10-19 15:16:07(954)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-10-19 15:16:07(965)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2017-10-19 15:16:08(016)][I]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:30, fps:15, preset:3, codec:1
[2017-10-19 15:16:08(026)][I]        Invoke        UserCameraControl(userid=10010117,bOpen=1)
[2017-10-19 15:16:08(037)][I]        Invoke        UserSpeakControl(userid=10010117,bOpen=1)
[2017-10-19 15:16:08(126)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2017-10-19 15:16:08(159)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-19 15:16:08(350)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(350)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(351)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(351)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(351)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(351)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(352)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(352)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(352)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(352)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(353)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2017-10-19 15:16:08(353)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681)
[2017-10-19 15:16:08(353)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:16:08(354)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x8d1181)
[2017-10-19 15:16:08(354)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:16:08(354)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x8d1181)
[2017-10-19 15:16:08(355)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:16:08(355)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x8d1181)
[2017-10-19 15:16:08(359)][I]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-10-19 15:16:09(392)][I]        video init finish:320x240, YUY2, fps:25, codecid:1
[2017-10-19 15:16:09(483)][I]        video codec init:codec:1, 15fps, 320x240, bitrate:100kbps, quality:3, preset:3, gop:30, handle:2

作者: anychatqyc    时间: 2017-10-19 15:21
麻烦帮忙分析下
作者: anychatqyc    时间: 2017-10-19 15:29
[2017-10-19 15:25:28(894)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-10-19 15:25:28(895)][I]        Load BRAnyChatCore.dll success!(V5.2 Build Time:Jun 16 2015 16:13:02)
[2017-10-19 15:25:28(899)][I]        Load BRMiscUtil.dll success!(V5.2 Build Time:Jun 16 2015 16:13:30)
[2017-10-19 15:25:28(961)][I]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jun 16 2015 16:12:44)
[2017-10-19 15:25:28(961)][I]        Load BRMediaShow.dll success!(V5.2 Build Time:Jun 16 2015 16:13:28)
[2017-10-19 15:25:28(963)][I]        Load BRMediaCore.dll success!(V5.2 Build Time:Jun 16 2015 16:13:42)
[2017-10-19 15:25:29(974)][I]        Invoke        BRAC_Connect(192.250.107.29,8906)=0
[2017-10-19 15:25:30(040)][I]        CheckClientSocketLink         Connect(ip=192.250.107.29,port=8906)
[2017-10-19 15:25:30(148)][I]        Server version: V6.4(Build Time:2017-05-24 13:03:11, Server OS:Windows)
[2017-10-19 15:25:30(193)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-10-19 15:25:30(206)][I]        Invoke        LoginServer(username=user10010117)
[2017-10-19 15:25:30(519)][I]        Message        OnLoginSystem(userid=10010117,errorcode=0,username=user10010117), msg deliver worked(1)
[2017-10-19 15:25:30(520)][I]        Server running time: 55 days, 5 hours, 2 minutes, license mode:0
[2017-10-19 15:25:30(534)][I]        Invoke        EnterRoom(roomid=10010117)
[2017-10-19 15:25:30(576)][I]        Connection to streaming media server successfully!(udp delay:31ms)
[2017-10-19 15:25:30(662)][I]        Message        OnEnterRoom(roomid=10010117,errorcode=0,siteindex=0)
[2017-10-19 15:25:30(663)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10010117)
[2017-10-19 15:25:30(678)][I]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-19 15:25:30(762)][I]        WaveIn Audio Capture Driver(麦克风阵列 (Realtek Audio))
[2017-10-19 15:25:30(763)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-10-19 15:25:30(763)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-19 15:25:30(764)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2017-10-19 15:25:30(776)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-10-19 15:25:30(788)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2017-10-19 15:25:30(849)][I]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:30, fps:15, preset:3, codec:1
[2017-10-19 15:25:30(860)][I]        Invoke        UserCameraControl(userid=10010117,bOpen=1)
[2017-10-19 15:25:30(872)][I]        Invoke        UserSpeakControl(userid=10010117,bOpen=1)
[2017-10-19 15:25:30(951)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2017-10-19 15:25:30(985)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-19 15:25:31(177)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(177)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(178)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(179)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(180)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(181)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(182)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(182)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(182)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(183)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(183)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2017-10-19 15:25:31(184)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681)
[2017-10-19 15:25:31(184)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:25:31(184)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x8d1181)
[2017-10-19 15:25:31(184)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:25:31(184)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x8d1181)
[2017-10-19 15:25:31(185)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x47504a4d)
[2017-10-19 15:25:31(185)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x8d1181)
[2017-10-19 15:25:31(188)][I]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-10-19 15:25:32(220)][I]        video init finish:320x240, YUY2, fps:25, codecid:1
[2017-10-19 15:25:32(312)][I]        video codec init:codec:1, 15fps, 320x240, bitrate:100kbps, quality:3, preset:3, gop:30, handle:2
[2017-10-19 15:25:42(329)][I]        Invoke        StreamRecordCtrlEx(10010117, 1, 0x7, 123456, )=0
[2017-10-19 15:26:29(562)][I]        Invoke        StreamRecordCtrlEx(10010117, 0, 0x7, 123456, )=0



作者: 佰锐科技-刘冬明    时间: 2017-10-19 15:39
后面的日志呢?就只有这些?您目前插件使用V5.2。服务器是V6.4,建议您先升级最新插,
作者: anychatqyc    时间: 2017-10-19 15:41
日志里请求的是
StreamRecordCtrlEx(10010117, 1, 0x7, 123456, )=0
StreamRecordCtrlEx(10010117, 0, 0x7, 123456, )=0
但是我看js调用的实际是
BRAC_StreamRecordCtrl(mSelfUserId, 1, 7, 123456)开始录像
BRAC_StreamRecordCtrl(mSelfUserId, 0, 7, 123456)结束录像
这个有关系吗
作者: anychatqyc    时间: 2017-10-19 15:46
佰锐科技-刘冬明 发表于 2017-10-19 15:39
后面的日志呢?就只有这些?您目前插件使用V5.2。服务器是V6.4,建议您先升级最新插,

好的,我先试下

作者: anychatqyc    时间: 2017-10-19 16:32
佰锐科技-刘冬明 发表于 2017-10-19 15:39
后面的日志呢?就只有这些?您目前插件使用V5.2。服务器是V6.4,建议您先升级最新插,

[2017-10-19 16:28:27(612)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-10-19 16:28:27(613)][I]        Load BRAnyChatCore.dll success!(V6.4 Build Time:Jul 12 2016 14:12:41)
[2017-10-19 16:28:27(617)][I]        Load BRMiscUtil.dll success!(V6.4 Build Time:Jul 12 2016 14:14:28)
[2017-10-19 16:28:27(677)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Jul 12 2016 14:11:55)
[2017-10-19 16:28:27(678)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Jul 12 2016 14:14:34)
[2017-10-19 16:28:27(679)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Jul 12 2016 14:14:49)
[2017-10-19 16:28:27(685)][I]        Video capture device supported:
[2017-10-19 16:28:27(686)][I]                1-Integrated Webcam
[2017-10-19 16:28:27(686)][I]        Audio capture device supported:
[2017-10-19 16:28:27(686)][I]                1-麦克风阵列 (Realtek Audio)
[2017-10-19 16:28:28(919)][I]        Start network engine(IPv4 mode)...
[2017-10-19 16:28:28(920)][I]        Invoke        Connect(192.250.107.29,8906)=0
[2017-10-19 16:28:29(969)][I]        Create anychatdnsserver connect:192.250.107.29(8906)
[2017-10-19 16:28:30(154)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 192.250.107.29(8906, tcp:1)
[2017-10-19 16:28:30(187)][I]        CheckClientSocketLink         Connect(ip=192.250.107.29,port=8906)
[2017-10-19 16:28:30(336)][I]        Server version: V6.4(Build Time:2017-05-24 13:03:11, Windows server)
[2017-10-19 16:28:30(371)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-10-19 16:28:30(384)][I]        Invoke        Login(username:user10010117)=0
[2017-10-19 16:28:30(523)][I]        Message        OnLoginSystem(userid=10010117,errorcode=0,username=user10010117), msg deliver worked(1)
[2017-10-19 16:28:30(523)][I]        Server running time: 55 days, 6 hours, 5 minutes, license mode:0
[2017-10-19 16:28:30(540)][I]        Invoke        EnterRoom(roomid=10010117)
[2017-10-19 16:28:30(579)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2017-10-19 16:28:30(687)][I]        Message        OnEnterRoom(roomid=10010117,errorcode=0,siteindex=0)
[2017-10-19 16:28:30(688)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10010117)
[2017-10-19 16:28:30(703)][I]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-19 16:28:30(758)][I]        WaveIn Audio Capture Driver(麦克风阵列 (Realtek Audio))
[2017-10-19 16:28:30(758)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-10-19 16:28:30(758)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-19 16:28:30(759)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2017-10-19 16:28:30(770)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-10-19 16:28:30(781)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2017-10-19 16:28:30(842)][I]        Apply video parameter:320x240, bitrate:100kbps, quality:3, gop:30, fps:15, preset:3, codec:1
[2017-10-19 16:28:30(853)][I]        Invoke        UserCameraControl(userid=10010117, bOpen=1, stream=0)
[2017-10-19 16:28:30(864)][I]        Invoke        UserSpeakControl(userid=10010117,bOpen=1)
[2017-10-19 16:28:30(968)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2017-10-19 16:28:31(002)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-19 16:28:31(218)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(218)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(221)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(221)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(224)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(224)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(224)][I]        Prepare config camera(1-Integrated Webcam): 320x240, 25fps
[2017-10-19 16:28:31(228)][I]                The best video format is detected: YUY2
[2017-10-19 16:28:31(229)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2017-10-19 16:28:31(229)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-10-19 16:28:32(249)][I]        video init finish:320x240, YUY2, fps:25, codecid:1
[2017-10-19 16:28:46(214)][I]        Invoke        SnapShot(10010117, 0x0, 0)=0
[2017-10-19 16:28:46(280)][I]        video codec init:codec:1, 15fps, 320x240, bitrate:100kbps, quality:3, preset:3, gop:30, handle:3
[2017-10-19 16:28:46(282)][I]        Prepare create record file:C:\Users\qyc\AppData\Local\Temp\temp\snapshot\2017-10-19\16-28-46-281_user10010117_84.jpg, dwFlags:0x0
[2017-10-19 16:28:46(298)][I]        Invoke        TransFile(dwUserid=0, dwTaskId:11501, PathName:C:\Users\qyc\AppData\Local\Temp\temp\snapshot\2017-10-19\16-28-46-281_user10010117_84.jpg)=0
[2017-10-19 16:29:00(165)][I]        Invoke        StreamRecordCtrlEx(10010117, 1, 0x7, 123456, )=0
[2017-10-19 16:29:12(564)][I]        Invoke        StreamRecordCtrlEx(10010117, 0, 0x7, 123456, )=0


日志到这里就结束了
作者: anychatqyc    时间: 2017-10-19 16:40
[2017-10-19 16:28:27(612)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-10-19 16:28:27(613)][I]        Load BRAnyChatCore.dll success!(V6.4 Build Time:Jul 12 2016 14:12:41)
[2017-10-19 16:28:27(617)][I]        Load BRMiscUtil.dll success!(V6.4 Build Time:Jul 12 2016 14:14:28)
[2017-10-19 16:28:27(677)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Jul 12 2016 14:11:55)
[2017-10-19 16:28:27(678)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Jul 12 2016 14:14:34)
[2017-10-19 16:28:27(679)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Jul 12 2016 14:14:49)
[2017-10-19 16:28:27(685)][I]        Video capture device supported:
[2017-10-19 16:28:27(686)][I]                1-Integrated Webcam
[2017-10-19 16:28:27(686)][I]        Audio capture device supported:
[2017-10-19 16:28:27(686)][I]                1-麦克风阵列 (Realtek Audio)
[2017-10-19 16:28:28(919)][I]        Start network engine(IPv4 mode)...
[2017-10-19 16:28:28(920)][I]        Invoke        Connect(192.250.107.29,8906)=0
[2017-10-19 16:28:29(969)][I]        Create anychatdnsserver connect:192.250.107.29(8906)
[2017-10-19 16:28:30(154)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 192.250.107.29(8906, tcp:1)
[2017-10-19 16:28:30(187)][I]        CheckClientSocketLink         Connect(ip=192.250.107.29,port=8906)
[2017-10-19 16:28:30(336)][I]        Server version: V6.4(Build Time:2017-05-24 13:03:11, Windows server)
[2017-10-19 16:28:30(371)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-10-19 16:28:30(384)][I]        Invoke        Login(username:user10010117)=0
[2017-10-19 16:28:30(523)][I]        Message        OnLoginSystem(userid=10010117,errorcode=0,username=user10010117), msg deliver worked(1)
[2017-10-19 16:28:30(523)][I]        Server running time: 55 days, 6 hours, 5 minutes, license mode:0
[2017-10-19 16:28:30(540)][I]        Invoke        EnterRoom(roomid=10010117)
[2017-10-19 16:28:30(579)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2017-10-19 16:28:30(687)][I]        Message        OnEnterRoom(roomid=10010117,errorcode=0,siteindex=0)
[2017-10-19 16:28:30(688)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10010117)
[2017-10-19 16:28:30(703)][I]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-19 16:28:30(758)][I]        WaveIn Audio Capture Driver(麦克风阵列 (Realtek Audio))
[2017-10-19 16:28:30(758)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-10-19 16:28:30(758)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-19 16:28:30(759)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2017-10-19 16:28:30(770)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-10-19 16:28:30(781)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2017-10-19 16:28:30(842)][I]        Apply video parameter:320x240, bitrate:100kbps, quality:3, gop:30, fps:15, preset:3, codec:1
[2017-10-19 16:28:30(853)][I]        Invoke        UserCameraControl(userid=10010117, bOpen=1, stream=0)
[2017-10-19 16:28:30(864)][I]        Invoke        UserSpeakControl(userid=10010117,bOpen=1)
[2017-10-19 16:28:30(968)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2017-10-19 16:28:31(002)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-19 16:28:31(218)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(218)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(219)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(220)][I]        MinCroppingSize(424, 240)        MaxCroppingSize(424, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(221)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(221)][I]        MinCroppingSize(320, 180)        MaxCroppingSize(320, 180)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2017-10-19 16:28:31(222)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(848, 480)        MaxCroppingSize(848, 480)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(223)][I]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(224)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x47504a4d, 30fps)
[2017-10-19 16:28:31(224)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x8d1181, 30fps)
[2017-10-19 16:28:31(224)][I]        Prepare config camera(1-Integrated Webcam): 320x240, 25fps
[2017-10-19 16:28:31(228)][I]                The best video format is detected: YUY2
[2017-10-19 16:28:31(229)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2017-10-19 16:28:31(229)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-10-19 16:28:32(249)][I]        video init finish:320x240, YUY2, fps:25, codecid:1
[2017-10-19 16:28:46(214)][I]        Invoke        SnapShot(10010117, 0x0, 0)=0
[2017-10-19 16:28:46(280)][I]        video codec init:codec:1, 15fps, 320x240, bitrate:100kbps, quality:3, preset:3, gop:30, handle:3
[2017-10-19 16:28:46(282)][I]        Prepare create record file:C:\Users\qyc\AppData\Local\Temp\temp\snapshot\2017-10-19\16-28-46-281_user10010117_84.jpg, dwFlags:0x0
[2017-10-19 16:28:46(298)][I]        Invoke        TransFile(dwUserid=0, dwTaskId:11501, PathName:C:\Users\qyc\AppData\Local\Temp\temp\snapshot\2017-10-19\16-28-46-281_user10010117_84.jpg)=0
[2017-10-19 16:29:00(165)][I]        Invoke        StreamRecordCtrlEx(10010117, 1, 0x7, 123456, )=0
[2017-10-19 16:29:12(564)][I]        Invoke        StreamRecordCtrlEx(10010117, 0, 0x7, 123456, )=0

后面就结束了,没有其他日志了
作者: 佰锐科技-刘冬明    时间: 2017-10-19 16:46
您有QQ吗?加下我1066495964,远程帮您查看下。
作者: anychatqyc    时间: 2017-10-19 16:50
佰锐科技-刘冬明 发表于 2017-10-19 16:46
您有QQ吗?加下我1066495964,远程帮您查看下。

那麻烦了,,
作者: 佰锐科技-梁国桦    时间: 2017-10-20 14:42
倒数第二个参数传0,不要随便传别的数




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