|
板凳
楼主 |
发表于 2016-6-13 11:14:22
|
只看该作者
用的是你们的demo,日志如下:
[2016-06-13 11:10:26(550)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-06-13 11:10:26(553)] Load BRAnyChatCore.dll success!(V6.0 Build Time:Apr 25 2016 15:53:04)
[2016-06-13 11:10:26(559)] Load BRMiscUtil.dll success!(V6.0 Build Time:Apr 25 2016 15:54:09)
[2016-06-13 11:10:26(620)] Load BRMediaUtil.dll success!(V6.0 Build Time:Apr 25 2016 15:51:30)
[2016-06-13 11:10:26(623)] Load BRMediaShow.dll success!(V6.0 Build Time:Apr 25 2016 15:54:15)
[2016-06-13 11:10:26(627)] Load BRMediaCore.dll success!(V6.0 Build Time:Apr 25 2016 15:54:28)
[2016-06-13 11:10:26(686)] Video capture device supported:
[2016-06-13 11:10:26(687)] 1-Integrated Camera
[2016-06-13 11:10:26(688)] Audio capture device supported:
[2016-06-13 11:10:26(689)] 1-麦克风 (Conexant SmartAudio HD)
[2016-06-13 11:10:36(842)] Invoke Connect(192.168.0.7,8906)=0
[2016-06-13 11:10:36(844)] Invoke Login(username=0
[2016-06-13 11:10:36(895)] Create anychatdnsserver connect:192.168.0.7(8906)
[2016-06-13 11:10:36(987)] On pre-connection result, errorcode:0, anychatcoreserver, 192.168.0.7(8906, tcp:1)
[2016-06-13 11:10:36(998)] CheckClientSocketLink Connect(ip=192.168.0.7,port=8906)
[2016-06-13 11:10:37(149)] Server version: V6.0(Build Time:2016-04-25 15:55:08, Server OS:Windows)
[2016-06-13 11:10:37(158)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-06-13 11:10:37(158)] Invoke Login(username=0
[2016-06-13 11:10:37(239)] Message OnLoginSystem(userid=21,errorcode=0,username=), msg deliver worked(1)
[2016-06-13 11:10:37(241)] Server running time: 0 days, 2 hours, 5 minutes, license mode:0
[2016-06-13 11:10:37(285)] Connection to streaming media server successfully!(udp delay:15ms)
[2016-06-13 11:10:37(384)] Object InitFlags:0x2
[2016-06-13 11:10:37(426)] Area(10002) Object Event, unknow event:2, dwParam1:21
[2016-06-13 11:10:38(247)] Area(10001) Object Event, Enter Result:0
[2016-06-13 11:10:38(248)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:46(361)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:52(612)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:54(628)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:59(005)] Invoke VideoCallControl(EventType:1, UserId:22, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2016-06-13 11:10:59(019)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:59(062)] Message OnVideoCallEvent(EventType:2, UserId:22, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-06-13 11:11:01(504)] Message OnVideoCallEvent(EventType:3, UserId:22, ErrorCode:0, dwFlags:0x0, dwParam:1
[2016-06-13 11:11:01(521)] Invoke EnterRoom(roomid=1)
[2016-06-13 11:11:01(554)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2016-06-13 11:11:01(555)] Audio capture parameter modification...
[2016-06-13 11:11:01(566)] Message OnReceiveOnlineUser(count=2,roomid=1)
[2016-06-13 11:11:01(573)] Invoke UserCameraControl(userid=21, bOpen=1, stream=0)
[2016-06-13 11:11:01(574)] Invoke UserSpeakControl(userid=21,bOpen=1)
[2016-06-13 11:11:01(674)] WaveIn Audio Capture Driver(麦克风 (Conexant SmartAudio HD))
[2016-06-13 11:11:01(675)] Audio Init, error:0, device:0, 2, 44100, 16, capmode:0
[2016-06-13 11:11:01(675)] Invoke SetVideoPos(dwUserId:21, hWnd:0x509a8, l:0, t:0, r:300, b:225, dwStreamIndex:0)
[2016-06-13 11:11:01(676)] Audio codec init, handle:1, 15, 2, 44100, 16, 24000
[2016-06-13 11:11:01(678)] Invoke UserCameraControl(userid=22, bOpen=1, stream=0)
[2016-06-13 11:11:01(680)] Invoke UserSpeakControl(userid=22,bOpen=1)
[2016-06-13 11:11:01(681)] Invoke SetVideoPos(dwUserId:22, hWnd:0x40a46, l:0, t:0, r:471, b:344, dwStreamIndex:0)
[2016-06-13 11:11:01(721)] Audio Playback Device Init(0, 2, 44100, 16), WaveOut Playback Driver
[2016-06-13 11:11:01(722)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-06-13 11:11:01(793)] userid(22) audio decode, codec:15, 2 channel, 44100Hz
[2016-06-13 11:11:01(827)] On Remote UserCameraControl(dwUserId:22, bOpen:1)
[2016-06-13 11:11:01(830)] On Remote UserSpeakControl(dwUserId:22, bOpen:1)
[2016-06-13 11:11:02(012)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(014)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(015)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(017)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(020)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(021)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(023)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(024)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(025)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(026)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(028)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(030)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(031)] Message OnP2PConnectState(userid=22, state=1)
[2016-06-13 11:11:02(032)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(034)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(035)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(036)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(037)] Prepare config camera(1-Integrated Camera): 320x240, 25fps
[2016-06-13 11:11:02(043)] The best video format is detected: YUY2
[2016-06-13 11:11:02(045)] SetFormat(320x240, YUY2, 25fps) = 0
[2016-06-13 11:11:02(047)] Video Config Size(320, 240) Format(YUY2, 25fps)
[2016-06-13 11:11:02(074)] CaptureControl(bStart:1, bInit:1, hr:-2147023446)
[2016-06-13 11:11:02(100)] video init finish:320x240, YUY2, fps:30, codecid:1
[2016-06-13 11:11:02(202)] Message OnP2PConnectState(userid=22, state=3)
[2016-06-13 11:11:02(839)] userid(22) video decode, codec:1, 320x240, delay:0ms
[2016-06-13 11:11:23(705)] Invoke LeaveRoom(roomid=-1) Elapse:593 ms
[2016-06-13 11:11:23(776)] Invoke LogoutServer(userid=21) Elapse:655 ms
[2016-06-13 11:11:24(307)] Invoke BRAC_Release Elapse:530 ms
另外一个客户端的:
[2016-06-13 11:10:51(209)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-06-13 11:10:51(210)] Load BRAnyChatCore.dll success!(V6.0 Build Time:Apr 25 2016 15:53:04)
[2016-06-13 11:10:51(213)] Load BRMiscUtil.dll success!(V6.0 Build Time:Apr 25 2016 15:54:09)
[2016-06-13 11:10:51(269)] Load BRMediaUtil.dll success!(V6.0 Build Time:Apr 25 2016 15:51:30)
[2016-06-13 11:10:51(271)] Load BRMediaShow.dll success!(V6.0 Build Time:Apr 25 2016 15:54:15)
[2016-06-13 11:10:51(275)] Load BRMediaCore.dll success!(V6.0 Build Time:Apr 25 2016 15:54:28)
[2016-06-13 11:10:51(303)] Video capture device supported:
[2016-06-13 11:10:51(304)] 1-Integrated Camera
[2016-06-13 11:10:51(304)] Audio capture device supported:
[2016-06-13 11:10:51(305)] 1-麦克风 (Conexant SmartAudio HD)
[2016-06-13 11:10:51(310)] Invoke Connect(127.0.0.1,8906)=0
[2016-06-13 11:10:51(311)] Invoke Login(username=0
[2016-06-13 11:10:51(371)] Create anychatdnsserver connect:127.0.0.1(8906)
[2016-06-13 11:10:51(472)] On pre-connection result, errorcode:0, anychatcoreserver, 127.0.0.1(8906, tcp:1)
[2016-06-13 11:10:51(475)] CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
[2016-06-13 11:10:51(586)] Server version: V6.0(Build Time:2016-04-25 15:55:08, Server OS:Windows)
[2016-06-13 11:10:51(589)] Invoke Login(username=0
[2016-06-13 11:10:51(590)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-06-13 11:10:51(682)] Message OnLoginSystem(userid=22,errorcode=0,username=), msg deliver worked(1)
[2016-06-13 11:10:51(684)] Server running time: 0 days, 2 hours, 5 minutes, license mode:0
[2016-06-13 11:10:51(726)] Connection to streaming media server successfully!(udp delay:23ms)
[2016-06-13 11:10:51(748)] Object InitFlags:0x0
[2016-06-13 11:10:51(782)] Area(10002) Object Event, unknow event:2, dwParam1:22
[2016-06-13 11:10:52(614)] Area(10001) Object Event, Enter Result:0
[2016-06-13 11:10:52(615)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:54(630)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:59(000)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:10:59(061)] Message OnVideoCallEvent(EventType:1, UserId:21, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-06-13 11:11:01(488)] Invoke VideoCallControl(EventType:2, UserId:21, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2016-06-13 11:11:01(505)] Message OnVideoCallEvent(EventType:3, UserId:21, ErrorCode:0, dwFlags:0x0, dwParam:1
[2016-06-13 11:11:01(514)] Invoke EnterRoom(roomid=1)
[2016-06-13 11:11:01(554)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-06-13 11:11:01(555)] Audio capture parameter modification...
[2016-06-13 11:11:01(558)] Message OnReceiveOnlineUser(count=1,roomid=1)
[2016-06-13 11:11:01(562)] Invoke UserCameraControl(userid=22, bOpen=1, stream=0)
[2016-06-13 11:11:01(563)] Invoke UserSpeakControl(userid=22,bOpen=1)
[2016-06-13 11:11:01(569)] Message OnUserEnterRoom(userid=21,nickname=,siteindex=1)
[2016-06-13 11:11:01(702)] WaveIn Audio Capture Driver(麦克风 (Conexant SmartAudio HD))
[2016-06-13 11:11:01(703)] Audio Init, error:0, device:0, 2, 44100, 16, capmode:0
[2016-06-13 11:11:01(704)] Invoke SetVideoPos(dwUserId:22, hWnd:0x601ec, l:0, t:0, r:471, b:344, dwStreamIndex:0)
[2016-06-13 11:11:01(704)] Audio codec init, handle:1, 15, 2, 44100, 16, 24000
[2016-06-13 11:11:01(710)] On Remote UserCameraControl(dwUserId:21, bOpen:1)
[2016-06-13 11:11:01(711)] On Remote UserSpeakControl(dwUserId:21, bOpen:1)
[2016-06-13 11:11:01(739)] Audio Playback Device Init(0, 2, 44100, 16), WaveOut Playback Driver
[2016-06-13 11:11:01(740)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-06-13 11:11:01(805)] Invoke UserCameraControl(userid=21, bOpen=1, stream=0)
[2016-06-13 11:11:01(806)] Invoke UserSpeakControl(userid=21,bOpen=1)
[2016-06-13 11:11:01(807)] Invoke SetVideoPos(dwUserId:21, hWnd:0x50984, l:0, t:0, r:473, b:344, dwStreamIndex:0)
[2016-06-13 11:11:01(838)] Invoke UserCameraControl(userid=21, bOpen=1, stream=0)
[2016-06-13 11:11:01(840)] Invoke UserSpeakControl(userid=21,bOpen=1)
[2016-06-13 11:11:01(841)] Invoke SetVideoPos(dwUserId:21, hWnd:0x50984, l:0, t:0, r:473, b:344, dwStreamIndex:0)
[2016-06-13 11:11:01(879)] userid(21) audio decode, codec:15, 2 channel, 44100Hz
[2016-06-13 11:11:02(033)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(034)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(035)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(036)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(037)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(037)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(038)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 30fps)
[2016-06-13 11:11:02(039)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681, 30fps)
[2016-06-13 11:11:02(040)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(041)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(041)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(042)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(044)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(045)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(046)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0, 30fps)
[2016-06-13 11:11:02(047)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x8d2681, 30fps)
[2016-06-13 11:11:02(047)] Prepare config camera(1-Integrated Camera): 320x240, 25fps
[2016-06-13 11:11:02(053)] The best video format is detected: YUY2
[2016-06-13 11:11:02(054)] SetFormat(320x240, YUY2, 25fps) = 0
[2016-06-13 11:11:02(055)] Video Config Size(320, 240) Format(YUY2, 25fps)
[2016-06-13 11:11:02(076)] Message OnP2PConnectState(userid=21, state=1)
[2016-06-13 11:11:02(103)] video init finish:320x240, YUY2, fps:30, codecid:1
[2016-06-13 11:11:02(280)] Message OnP2PConnectState(userid=21, state=3)
[2016-06-13 11:11:02(739)] video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:4
[2016-06-13 11:11:23(134)] Message OnUserLeaveRoom(userid=21,siteindex=1)
[2016-06-13 11:11:23(135)] Invoke UserCameraControl(userid=21, bOpen=0, stream=0)
[2016-06-13 11:11:23(136)] Invoke UserSpeakControl(userid=21,bOpen=0)
[2016-06-13 11:11:23(735)] Message OnVideoCallEvent(EventType:4, UserId:21, ErrorCode:100106, dwFlags:0x0, dwParam:0
[2016-06-13 11:11:23(737)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-06-13 11:11:23(766)] Area(10001) Object Event, unknow event:401, dwParam1:0
[2016-06-13 11:11:23(773)] OnSocketClose, index(3)-errorcode(0-0), flags:0x81, bTcp(1),userid(21), list:0
[2016-06-13 11:11:23(778)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2016-06-13 11:11:23(781)] Invoke UserCameraControl(userid=21, bOpen=0, stream=0)
[2016-06-13 11:11:23(782)] Invoke UserSpeakControl(userid=21,bOpen=0)
[2016-06-13 11:11:24(775)] Invoke LeaveRoom(roomid=-1) Elapse:982 ms
[2016-06-13 11:11:25(101)] Invoke LogoutServer(userid=22) Elapse:47 ms
[2016-06-13 11:11:25(648)] Invoke BRAC_Release Elapse:546 ms
|
|