|
我用了这,现在回调正常了。
但是在客户端调用StreamRecordCtrlEx时,参数userstr为“”,但其实应该是有值的。日志如下:
[2015-04-21 11:32:39(029)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-04-21 11:32:39(030)] Load BRAnyChatCore.dll success!(V5.2 Build Time:Feb 10 2015 14:09:19)
[2015-04-21 11:32:39(036)] Load BRMiscUtil.dll success!(V5.2 Build Time:Feb 10 2015 14:07:32)
[2015-04-21 11:32:39(067)] Load BRMediaUtil.dll success!(V5.2 Build Time:Feb 10 2015 14:07:48)
[2015-04-21 11:32:39(068)] Load BRMediaShow.dll success!(V5.2 Build Time:Feb 10 2015 14:07:40)
[2015-04-21 11:32:39(069)] Load BRMediaCore.dll success!(V5.2 Build Time:Feb 10 2015 14:08:00)
[2015-04-21 11:32:39(083)] Apply video parameter:1280x720, bitrate:600000, quality:0, gop:20, fps:12, preset:3, codec:0
[2015-04-21 11:32:39(084)] Invoke BRAC_Connect(192.168.52.144,8906)=0
[2015-04-21 11:32:39(084)] Invoke LoginServer(username=lincy)
[2015-04-21 11:32:39(085)] Invoke EnterRoom(lincy)
[2015-04-21 11:32:39(176)] CheckClientSocketLink Connect(ip=192.168.52.144,port=8906)
[2015-04-21 11:32:39(297)] Server version: V5.2(Build Time:2015-02-10 14:08:34, Server OS:Windows)
[2015-04-21 11:32:39(487)] Message OnConnect(bSuccess:1, errorcode=0)
[2015-04-21 11:32:39(938)] Message OnLoginSystem(userid=24,errorcode=0,username=lincy), msg deliver worked(1)
[2015-04-21 11:32:39(939)] Server running time: 0 days, 18 hours, 3 minutes, license mode:0
[2015-04-21 11:32:39(970)] Connection to streaming media server successfully!(udp delay:16ms)
[2015-04-21 11:32:40(180)] Message OnEnterRoom(roomid=83,errorcode=0,siteindex=0)
[2015-04-21 11:32:40(181)] Message OnReceiveOnlineUser(count=1,roomid=83)
[2015-04-21 11:32:40(181)] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x311ca, l:0, t:0, r:340, b:284)
[2015-04-21 11:32:40(183)] Invoke UserCameraControl(userid=-1,bOpen=1)
[2015-04-21 11:32:40(183)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2015-04-21 11:32:40(201)] WaveIn Audio Capture Driver(麦克风 (HD Webcam C270))
[2015-04-21 11:32:40(202)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2015-04-21 11:32:40(203)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-04-21 11:32:40(215)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2015-04-21 11:32:40(245)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-04-21 11:32:40(311)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0)
[2015-04-21 11:32:40(311)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x0)
[2015-04-21 11:32:40(312)] MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(RGB24, 0x0)
[2015-04-21 11:32:40(312)] MinCroppingSize(320, 176) MaxCroppingSize(320, 176) Format(RGB24, 0x0)
[2015-04-21 11:32:40(313)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x0)
[2015-04-21 11:32:40(313)] MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(RGB24, 0x0)
[2015-04-21 11:32:40(314)] MinCroppingSize(432, 240) MaxCroppingSize(432, 240) Format(RGB24, 0x0)
[2015-04-21 11:32:40(314)] MinCroppingSize(544, 288) MaxCroppingSize(544, 288) Format(RGB24, 0x0)
[2015-04-21 11:32:40(315)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(RGB24, 0x0)
[2015-04-21 11:32:40(315)] MinCroppingSize(752, 416) MaxCroppingSize(752, 416) Format(RGB24, 0x0)
[2015-04-21 11:32:40(316)] MinCroppingSize(800, 448) MaxCroppingSize(800, 448) Format(RGB24, 0x0)
[2015-04-21 11:32:40(316)] MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(RGB24, 0x0)
[2015-04-21 11:32:40(317)] MinCroppingSize(864, 480) MaxCroppingSize(864, 480) Format(RGB24, 0x0)
[2015-04-21 11:32:40(317)] MinCroppingSize(960, 544) MaxCroppingSize(960, 544) Format(RGB24, 0x0)
[2015-04-21 11:32:40(318)] MinCroppingSize(960, 720) MaxCroppingSize(960, 720) Format(RGB24, 0x0)
[2015-04-21 11:32:40(318)] MinCroppingSize(1024, 576) MaxCroppingSize(1024, 576) Format(RGB24, 0x0)
[2015-04-21 11:32:40(319)] MinCroppingSize(1184, 656) MaxCroppingSize(1184, 656) Format(RGB24, 0x0)
[2015-04-21 11:32:40(319)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(RGB24, 0x0)
[2015-04-21 11:32:40(320)] MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(RGB24, 0x0)
[2015-04-21 11:32:40(320)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(321)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(321)] MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(322)] MinCroppingSize(320, 176) MaxCroppingSize(320, 176) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(322)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(323)] MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(323)] MinCroppingSize(432, 240) MaxCroppingSize(432, 240) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(324)] MinCroppingSize(544, 288) MaxCroppingSize(544, 288) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(325)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(325)] MinCroppingSize(752, 416) MaxCroppingSize(752, 416) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(326)] MinCroppingSize(800, 448) MaxCroppingSize(800, 448) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(326)] MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(327)] MinCroppingSize(864, 480) MaxCroppingSize(864, 480) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(327)] MinCroppingSize(960, 544) MaxCroppingSize(960, 544) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(328)] MinCroppingSize(960, 720) MaxCroppingSize(960, 720) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(328)] MinCroppingSize(1024, 576) MaxCroppingSize(1024, 576) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(329)] MinCroppingSize(1184, 656) MaxCroppingSize(1184, 656) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(329)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(329)] MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(YUV420P, 0x30323449)
[2015-04-21 11:32:40(330)] Video Config Size(1280, 720) Format(RGB24, 12fps)
[2015-04-21 11:32:40(665)] Message OnUserEnterRoom(userid=-240,nickname=customerTTTNETPF_123458,siteindex=1)
[2015-04-21 11:32:40(681)] video init finish:1280x720, RGB24, fps:12
[2015-04-21 11:32:40(705)] Invoke BRAC_SetVideoPos(dwUserId:-240, hWnd:0x311d4, l:0, t:0, r:557, b:300)
[2015-04-21 11:32:40(706)] Invoke UserCameraControl(userid=-240,bOpen=1)
[2015-04-21 11:32:40(706)] Invoke UserSpeakControl(userid=-240,bOpen=1)
[2015-04-21 11:32:41(077)] On Remote UserCameraControl(dwUserId:-240, bOpen:1)
[2015-04-21 11:32:41(157)] Message OnP2PConnectState(userid=-240, state=1)
[2015-04-21 11:32:41(277)] On Remote UserSpeakControl(dwUserId:-240, bOpen:1)
[2015-04-21 11:32:41(317)] Message OnP2PConnectState(userid=-240, state=3)
[2015-04-21 11:32:42(251)] video codec init:codec:1, 12fps, 1280x720, bitrate:600kbps, quality:0, preset:3, gop:20, handle:3
[2015-04-21 11:32:51(443)] Invoke StreamRecordCtrlEx(-240, 1, 0x137, 0, )=0
[2015-04-21 11:32:57(866)] Invoke StreamRecordCtrlEx(-240, 0, 0x137, 0, )=0
|
|