changes158 发表于 2015-11-2 09:43:10

anychat视频时,同样的代码有的电脑会出现一闪一闪的现象

anychat视频时,同样的代码有的电脑会出现一闪一闪的现象;请问什么原因?或者怎么排查!

佰锐科技-陈伟 发表于 2015-11-2 09:57:48

您好,请将会出现问题电脑上日志发上来,我们来分析看看

changes158 发表于 2015-11-2 10:27:00

您好,BRAnyChatCore.log这是错误电脑的日志,麻烦看看,谢谢!

      ---------------------------AnyChat Platform Core SDK Client Log---------------------------
      Load BRAnyChatCore.dll success!(V5.3 Build Time:Jul 23 2015 20:07:45)
      Load BRMiscUtil.dll success!(V5.3 Build Time:Jul 23 2015 20:08:10)
      Load BRMediaUtil.dll success!(V5.3 Build Time:Jul 23 2015 20:07:28)
      Load BRMediaShow.dll success!(V5.3 Build Time:Jul 23 2015 20:08:15)
      Load BRMediaCore.dll success!(V5.3 Build Time:Jul 23 2015 20:08:27)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Invoke      Connect(192.9.200.89,8906)=0
      CheckClientSocketLink         Connect(ip=192.9.200.89,port=8906)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Server version: V5.3(Build Time:2015-07-23 20:08:54, Server OS:Windows)
      Message      OnConnect(bSuccess:1, errorcode=0)
      Invoke      LoginServer(username=管理员_43)
      Message      OnLoginSystem(userid=-7,errorcode=0,username=管理员_43), msg deliver worked(0)
      Server running time: 0 days, 1 hours, 8 minutes, license mode:0
      Success add upnp map(port:63398, tcp)
      Success add upnp map(port:51718, udp)
      Invoke      EnterRoom(roomid=1)
      Connection to streaming media server successfully!(udp delay:31ms)
      Message      OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
      Message      OnReceiveOnlineUser(count=2,roomid=1)
      Invoke      UserCameraControl(userid=-7,bOpen=1)
      Invoke      UserSpeakControl(userid=-7,bOpen=1)
      WaveIn Audio Capture Driver(麦克风 (High Definition Audio )
      Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
      Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
      Audio codec init, handle:1, 11, 1, 16000, 16, 15850
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Audio Playback Device Init(10500, 1, 16000, 16), WaveOut Playback Driver
      Message      OnP2PConnectState(userid=-6, state=1)
      Message      OnP2PConnectState(userid=-6, state=3)
      MinCroppingSize(640, 480)      MaxCroppingSize(640, 480)      Format(YUY2, 0x32595559)
      MinCroppingSize(640, 480)      MaxCroppingSize(640, 480)      Format(YUY2, 0x8d2681)
      MinCroppingSize(352, 288)      MaxCroppingSize(352, 288)      Format(YUY2, 0x32595559)
      MinCroppingSize(352, 288)      MaxCroppingSize(352, 288)      Format(YUY2, 0x8d2681)
      MinCroppingSize(320, 240)      MaxCroppingSize(320, 240)      Format(YUY2, 0x32595559)
      MinCroppingSize(320, 240)      MaxCroppingSize(320, 240)      Format(YUY2, 0x8d2681)
      MinCroppingSize(176, 144)      MaxCroppingSize(176, 144)      Format(YUY2, 0x32595559)
      MinCroppingSize(176, 144)      MaxCroppingSize(176, 144)      Format(YUY2, 0x8d2681)
      MinCroppingSize(160, 120)      MaxCroppingSize(160, 120)      Format(YUY2, 0x32595559)
      MinCroppingSize(160, 120)      MaxCroppingSize(160, 120)      Format(YUY2, 0x8d2681)
      Video Config Size(320, 240)      Format(YUY2, 25fps)
      video init finish:320x240, YUY2, fps:25, codecid:1
      video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Invoke      LeaveRoom(roomid=-1)      Elapse:203 ms
      Invoke      LogoutServer(userid=-7)      Elapse:312 ms
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x706aa, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x706aa, l:650, t:67, r:960, b:267)
      Invoke      Connect(192.9.200.89,8906)=0
      CheckClientSocketLink         Connect(ip=192.9.200.89,port=8906)
      Server version: V5.3(Build Time:2015-07-23 20:08:54, Server OS:Windows)
      Message      OnConnect(bSuccess:1, errorcode=0)
      Invoke      LoginServer(username=管理员_43)
      Message      OnLoginSystem(userid=-8,errorcode=0,username=管理员_43), msg deliver worked(0)
      Load BRMediaUtil.dll success!(V5.3 Build Time:Jul 23 2015 20:07:28)
      Load BRMediaShow.dll success!(V5.3 Build Time:Jul 23 2015 20:08:15)
      Load BRMediaCore.dll success!(V5.3 Build Time:Jul 23 2015 20:08:27)
      Server running time: 0 days, 1 hours, 24 minutes, license mode:0
      Success add upnp map(port:63735, tcp)
      Connection to streaming media server successfully!(udp delay:15ms)
      Success add upnp map(port:62276, udp)
      Invoke      EnterRoom(roomid=1)
      Message      OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
      Message      OnReceiveOnlineUser(count=1,roomid=1)
      Invoke      UserCameraControl(userid=-8,bOpen=1)
      Invoke      UserSpeakControl(userid=-8,bOpen=1)
      WaveIn Audio Capture Driver(麦克风 (High Definition Audio )
      Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
      Audio codec init, handle:1, 11, 1, 16000, 16, 15850
      Audio Playback Device Init(10500, 1, 16000, 16), WaveOut Playback Driver
      Invoke      SetVideoPos(dwUserId:-8, hWnd:0x706aa, l:650, t:67, r:960, b:267)
      Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
      MinCroppingSize(640, 480)      MaxCroppingSize(640, 480)      Format(YUY2, 0x32595559)
      MinCroppingSize(640, 480)      MaxCroppingSize(640, 480)      Format(YUY2, 0x8d2681)
      MinCroppingSize(352, 288)      MaxCroppingSize(352, 288)      Format(YUY2, 0x32595559)
      MinCroppingSize(352, 288)      MaxCroppingSize(352, 288)      Format(YUY2, 0x8d2681)
      MinCroppingSize(320, 240)      MaxCroppingSize(320, 240)      Format(YUY2, 0x32595559)
      MinCroppingSize(320, 240)      MaxCroppingSize(320, 240)      Format(YUY2, 0x8d2681)
      MinCroppingSize(176, 144)      MaxCroppingSize(176, 144)      Format(YUY2, 0x32595559)
      MinCroppingSize(176, 144)      MaxCroppingSize(176, 144)      Format(YUY2, 0x8d2681)
      MinCroppingSize(160, 120)      MaxCroppingSize(160, 120)      Format(YUY2, 0x32595559)
      MinCroppingSize(160, 120)      MaxCroppingSize(160, 120)      Format(YUY2, 0x8d2681)
      Video Config Size(320, 240)      Format(YUY2, 25fps)
      video init finish:320x240, YUY2, fps:25, codecid:1
      video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
      Invoke      LeaveRoom(roomid=-1)      Elapse:172 ms
      Invoke      LogoutServer(userid=-8)      Elapse:250 ms


changes158 发表于 2015-11-2 10:31:32

佰锐科技-陈伟 发表于 2015-11-2 09:57
您好,请将会出现问题电脑上日志发上来,我们来分析看看

日志发到楼下了,麻烦看看 谢谢!

佰锐科技-李友勤 发表于 2015-11-2 10:32:55

changes158 发表于 2015-11-2 10:31
日志发到楼下了,麻烦看看 谢谢!

请问您说的视频闪的现象,是在本地视频还是远程视频呢

changes158 发表于 2015-11-2 10:36:29

佰锐科技-李友勤 发表于 2015-11-2 10:32
请问您说的视频闪的现象,是在本地视频还是远程视频呢

本地视频,打开本地视频就闪,还没有进行远程。如果开视频同时说话,闪的频率更快了!

陈文仲 发表于 2015-11-2 10:49:53

本帖最后由 陈文仲 于 2015-11-2 10:54 编辑

changes158 发表于 2015-11-2 10:36
本地视频,打开本地视频就闪,还没有进行远程。如果开视频同时说话,闪的频率更快了!
您好,日志里看到有多次调用设置显示视频位置的接口,而且对应不同id 绑定了相同的位置上,试一下只调用一次setvideopos 设置自己视频显示位置看看
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x406c6, l:650, t:67, r:960, b:267)
      Invoke      SetVideoPos(dwUserId:0, hWnd:0x406c6, l:8, t:67, r:618, b:507)
      Invoke      SetVideoPos(dwUserId:-7, hWnd:0x406c6, l:650, t:67, r:960, b:267)

admin 发表于 2015-11-4 15:16:30

是什么语言开发的客户端呢?
页: [1]
查看完整版本: anychat视频时,同样的代码有的电脑会出现一闪一闪的现象