AnyChat技术支持论坛
标题:
BRAC_GetOnlineUser返回的数组长度为0
[打印本页]
作者:
meijie541940291
时间:
2016-10-14 19:31
标题:
BRAC_GetOnlineUser返回的数组长度为0
如题,此时坐席和客户都已建立连接,日志也是正常的,但是这个方法返回的结果不对。这个问题之前也遇到过,但那时候是一个浏览器前后台,换成2个浏览器之后是好的,今天2个浏览器也出现这种情况。
作者:
佰锐科技-陈伟
时间:
2016-10-15 14:58
您好 是说在一台PC上开启两个浏览器吗?另外麻烦把日志发我们分析看看!
作者:
meijie541940291
时间:
2016-10-15 16:46
佰锐科技-陈伟 发表于 2016-10-15 14:58
您好 是说在一台PC上开启两个浏览器吗?另外麻烦把日志发我们分析看看!
emp:
[2016-10-14 19:21:57(903)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-14 19:21:57(904)] Load BRAnyChatCore.dll success!(V5.3 Build Time:Aug 10 2015 12:20:22)
[2016-10-14 19:21:57(908)] Load BRMiscUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:50)
[2016-10-14 19:21:57(962)] Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
[2016-10-14 19:21:57(964)] Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
[2016-10-14 19:21:57(965)] Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
[2016-10-14 19:21:58(273)] Invoke Connect(127.0.0.1,8906)=0
[2016-10-14 19:21:58(284)] CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
[2016-10-14 19:21:58(400)] Server version: V5.2(Build Time:2015-01-19 11:33:43, Server OS:Windows)
[2016-10-14 19:21:58(400)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-10-14 19:21:58(401)] Invoke LoginServer(username=emp20011190)
[2016-10-14 19:21:58(453)] Message OnLoginSystem(userid=20011190,errorcode=0,username=emp20011190), msg deliver worked(1)
[2016-10-14 19:21:58(455)] Server running time: 0 days, 2 hours, 28 minutes, license mode:0
[2016-10-14 19:21:58(456)] Invoke EnterRoom(roomid=10016966)
[2016-10-14 19:21:58(488)] Connection to streaming media server successfully!(udp delay:16ms)
[2016-10-14 19:21:58(498)] Message OnEnterRoom(roomid=10016966,errorcode=0,siteindex=0)
[2016-10-14 19:21:58(499)] Message OnReceiveOnlineUser(count=1,roomid=10016966)
[2016-10-14 19:21:58(524)] WaveIn Audio Capture Driver(麦克风阵列 (Realtek High Defini)
[2016-10-14 19:21:58(524)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2016-10-14 19:21:58(524)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-14 19:21:58(524)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2016-10-14 19:21:58(524)] Invoke SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2016-10-14 19:21:58(524)] Invoke SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2016-10-14 19:21:58(525)] Invoke SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2016-10-14 19:21:58(525)] Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:30, fps:10, preset:3, codec:1
[2016-10-14 19:21:58(526)] Invoke UserCameraControl(userid=20011190, bOpen=1, stream=0)
[2016-10-14 19:21:58(526)] Invoke UserSpeakControl(userid=20011190,bOpen=1)
[2016-10-14 19:21:58(540)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2016-10-14 19:21:58(551)] Audio FX Status: VAD:0, NS:1, AGC:1, AEC:1
[2016-10-14 19:21:58(756)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x47504a4d)
[2016-10-14 19:21:58(756)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x8d1181)
[2016-10-14 19:21:58(756)] MinCroppingSize(848, 480) MaxCroppingSize(848, 480) Format(MJPG, 0x47504a4d)
[2016-10-14 19:21:58(757)] MinCroppingSize(848, 480) MaxCroppingSize(848, 480) Format(MJPG, 0x8d1181)
[2016-10-14 19:21:58(757)] MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(MJPG, 0x47504a4d)
[2016-10-14 19:21:58(757)] MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(MJPG, 0x8d1181)
[2016-10-14 19:21:58(757)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(758)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(758)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(758)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(759)] MinCroppingSize(320, 180) MaxCroppingSize(320, 180) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(759)] MinCroppingSize(320, 180) MaxCroppingSize(320, 180) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(759)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(759)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(760)] MinCroppingSize(424, 240) MaxCroppingSize(424, 240) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(760)] MinCroppingSize(424, 240) MaxCroppingSize(424, 240) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(760)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x32595559)
[2016-10-14 19:21:58(761)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x8d2681)
[2016-10-14 19:21:58(765)] Video Config Size(320, 240) Format(YUY2, 25fps)
[2016-10-14 19:21:58(791)] video init finish:320x240, YUY2, fps:30, codecid:1
[2016-10-14 19:22:03(066)] Message OnUserEnterRoom(userid=10016966,nickname=user10016966,siteindex=1)
[2016-10-14 19:22:03(067)] Invoke UserCameraControl(userid=10016966, bOpen=1, stream=0)
[2016-10-14 19:22:03(067)] Invoke UserSpeakControl(userid=10016966,bOpen=1)
[2016-10-14 19:22:03(345)] On Remote UserCameraControl(dwUserId:10016966, bOpen:1)
[2016-10-14 19:22:03(345)] On Remote UserSpeakControl(dwUserId:10016966, bOpen:1)
[2016-10-14 19:22:03(392)] userid(10016966) audio decode, codec:11, 1 channel, 16000Hz
[2016-10-14 19:22:03(531)] Message OnP2PConnectState(userid=10016966, state=1)
[2016-10-14 19:22:03(740)] Message OnP2PConnectState(userid=10016966, state=3)
usr:
[2016-10-14 19:21:51(052)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-14 19:21:51(056)] Load BRAnyChatCore.dll success!(V5.3 Build Time:Aug 10 2015 12:20:22)
[2016-10-14 19:21:51(096)] Load BRMiscUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:50)
[2016-10-14 19:21:51(276)] Load BRMediaUtil.dll success!(V5.3 Build Time:Aug 10 2015 12:20:02)
[2016-10-14 19:21:51(282)] Load BRMediaShow.dll success!(V5.3 Build Time:Aug 10 2015 12:20:53)
[2016-10-14 19:21:51(287)] Load BRMediaCore.dll success!(V5.3 Build Time:Aug 10 2015 12:21:04)
[2016-10-14 19:22:02(832)] Invoke Connect(127.0.0.1,8906)=0
[2016-10-14 19:22:02(865)] CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
[2016-10-14 19:22:02(967)] Server version: V5.2(Build Time:2015-01-19 11:33:43, Server OS:Windows)
[2016-10-14 19:22:02(972)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-10-14 19:22:02(974)] Invoke LoginServer(username=user10016966)
[2016-10-14 19:22:03(019)] Message OnLoginSystem(userid=10016966,errorcode=0,username=user10016966), msg deliver worked(1)
[2016-10-14 19:22:03(023)] Server running time: 0 days, 2 hours, 28 minutes, license mode:0
[2016-10-14 19:22:03(035)] Invoke EnterRoom(roomid=10016966)
[2016-10-14 19:22:03(060)] Connection to streaming media server successfully!(udp delay:23ms)
[2016-10-14 19:22:03(075)] Message OnEnterRoom(roomid=10016966,errorcode=0,siteindex=1)
[2016-10-14 19:22:03(080)] Message OnReceiveOnlineUser(count=2,roomid=10016966)
[2016-10-14 19:22:03(085)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-14 19:22:03(101)] WaveIn Audio Capture Driver(麦克风阵列 (Realtek High Defini)
[2016-10-14 19:22:03(110)] Invoke SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2016-10-14 19:22:03(108)] On Remote UserCameraControl(dwUserId:20011190, bOpen:1)
[2016-10-14 19:22:03(110)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2016-10-14 19:22:03(145)] Invoke SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2016-10-14 19:22:03(198)] On Remote UserSpeakControl(dwUserId:20011190, bOpen:1)
[2016-10-14 19:22:03(198)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2016-10-14 19:22:03(203)] Invoke SetSDKOption(BRAC_SO_AUDIO_AGCCTRL,1)
[2016-10-14 19:22:03(224)] Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:30, fps:10, preset:3, codec:1
[2016-10-14 19:22:03(230)] Invoke UserCameraControl(userid=10016966, bOpen=1, stream=0)
[2016-10-14 19:22:03(239)] Invoke UserSpeakControl(userid=10016966,bOpen=1)
[2016-10-14 19:22:03(308)] Invoke UserCameraControl(userid=20011190, bOpen=1, stream=0)
[2016-10-14 19:22:03(315)] Invoke UserSpeakControl(userid=20011190,bOpen=1)
[2016-10-14 19:22:03(315)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2016-10-14 19:22:03(331)] Audio FX Status: VAD:0, NS:1, AGC:1, AEC:1
[2016-10-14 19:22:03(395)] userid(20011190) audio decode, codec:11, 1 channel, 16000Hz
[2016-10-14 19:22:03(449)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x47504a4d)
[2016-10-14 19:22:03(466)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(MJPG, 0x8d1181)
[2016-10-14 19:22:03(486)] Message OnP2PConnectState(userid=20011190, state=1)
[2016-10-14 19:22:03(483)] MinCroppingSize(848, 480) MaxCroppingSize(848, 480) Format(MJPG, 0x47504a4d)
[2016-10-14 19:22:03(509)] MinCroppingSize(848, 480) MaxCroppingSize(848, 480) Format(MJPG, 0x8d1181)
[2016-10-14 19:22:03(515)] MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(MJPG, 0x47504a4d)
[2016-10-14 19:22:03(525)] MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(MJPG, 0x8d1181)
[2016-10-14 19:22:03(531)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(536)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(541)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(546)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(552)] MinCroppingSize(320, 180) MaxCroppingSize(320, 180) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(559)] MinCroppingSize(320, 180) MaxCroppingSize(320, 180) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(568)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(575)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(580)] MinCroppingSize(424, 240) MaxCroppingSize(424, 240) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(584)] MinCroppingSize(424, 240) MaxCroppingSize(424, 240) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(588)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x32595559)
[2016-10-14 19:22:03(593)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x8d2681)
[2016-10-14 19:22:03(601)] Video Config Size(320, 240) Format(YUY2, 25fps)
[2016-10-14 19:22:03(623)] CaptureControl(bStart:1, bInit:1, hr:-2147023446)
[2016-10-14 19:22:03(629)] video init finish:320x240, YUY2, fps:30, codecid:1
[2016-10-14 19:22:03(667)] Message OnP2PConnectState(userid=20011190, state=3)
[2016-10-14 19:26:35(468)] Message OnUserLeaveRoom(userid=20011190,siteindex=0)
[2016-10-14 19:26:35(502)] OnSocketClose, index(3)-errorcode(0-0), flags:0x481, bTcp(1),userid(20011190), list:0
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3