|
多谢,还有个问题,我在切换网络收到OnAnyChatLinkClose消息时,发现anychat可以自动进行connect链接,但是此时会看不到对端视频,查了下对端视频状态为GetCameraState为0。anychat自动重连视频有问题?ios客户端日志如下:
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x9bd7000] No accelerated colorspace conversion found from yuv420p to bgra.
2014-08-06 11:02:02.341 EnterpriseStockMaster[331:707] 视频见证:anychat提示:OnAnyChatLinkClose--->dwErrorCode:0
[libx264 @ 0x34bfc00] frame I:13 Avg QP:24.85 size: 6620
[libx264 @ 0x34bfc00] frame P:293 Avg QP:26.35 size: 1677
[libx264 @ 0x34bfc00] mb I I16..4: 29.5% 0.0% 70.5%
[libx264 @ 0x34bfc00] mb P I16..4: 4.5% 0.0% 1.1% P16..4: 65.8% 0.0% 0.0% 0.0% 0.0% skip:28.5%
[libx264 @ 0x34bfc00] coded y,uvDC,uvAC intra: 50.9% 55.1% 18.3% inter: 20.3% 27.1% 0.3%
[libx264 @ 0x34bfc00] i16 v,h,dc,p: 36% 19% 22% 23%
[libx264 @ 0x34bfc00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 16% 26% 6% 7% 5% 4% 5% 8%
[libx264 @ 0x34bfc00] i8c dc,h,v,p: 51% 21% 18% 10%
[libx264 @ 0x34bfc00] kb/s:150.95
2014-08-06 11:02:04.654 EnterpriseStockMaster[331:840b] Invoke LeaveRoom(roomid=-1) Elapse:275 ms
2014-08-06 11:02:04.671 EnterpriseStockMaster[331:840b] Message OnLinkClose(reason=0, dwErrorCode:0)
2014-08-06 11:02:13.735 EnterpriseStockMaster[331:840b] CheckClientSocketLink Connect(ip=203.93.211.88,port=8906)
2014-08-06 11:02:15.068 EnterpriseStockMaster[331:840b] Server version: V5.0(Build Time:2014-08-04 09:05:26, Server OS:Windows)
2014-08-06 11:02:15.079 EnterpriseStockMaster[331:840b] Message OnConnect(bSuccess:1, errorcode=0)
2014-08-06 11:02:15.080 EnterpriseStockMaster[331:707] -----------------------------anychat Connect进行中----------------------------------------
2014-08-06 11:02:15.088 EnterpriseStockMaster[331:707] Invoke LoginServer(username=user18135)
2014-08-06 11:02:15.885 EnterpriseStockMaster[331:840b] Message OnLoginSystem(userid=18135,errorcode=0,username=user18135), msg deliver worked(0)
2014-08-06 11:02:15.902 EnterpriseStockMaster[331:840b] Load libmediautil.so success!(V4.9 Build Time:May 7 2014 09:38:32)
2014-08-06 11:02:15.911 EnterpriseStockMaster[331:840b] Load libmediashow.so success!(V4.9 Build Time:May 7 2014 09:38:28)
2014-08-06 11:02:15.918 EnterpriseStockMaster[331:840b] Load libmediacore.so success!(V4.9 Build Time:May 7 2014 09:38:25)
2014-08-06 11:02:15.929 EnterpriseStockMaster[331:840b] OnReceiveUserDefine(dwSrcUserId:0, dwTarUserId:18135, dwCommand:10, wParam:0, lParam:0, dwBufSize:56)
2014-08-06 11:02:15.935 EnterpriseStockMaster[331:707] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-06 11:02:15.940 EnterpriseStockMaster[331:707] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-06 11:02:15.945 EnterpriseStockMaster[331:707] Invoke EnterRoom(241)
2014-08-06 11:02:16.068 EnterpriseStockMaster[331:840b] Connection to streaming media server successfully!(udp delay:71ms)
2014-08-06 11:02:16.498 EnterpriseStockMaster[331:840b] Message OnEnterRoom(roomid=241,errorcode=0,siteindex=0)
2014-08-06 11:02:16.754 EnterpriseStockMaster[331:840b] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-06 11:02:16.761 EnterpriseStockMaster[331:840b] Message OnReceiveOnlineUser(count=1,roomid=241)
2014-08-06 11:02:16.764 EnterpriseStockMaster[331:707] 对端网络状态remoteNetworkStatus------->0
2014-08-06 11:02:16.767 EnterpriseStockMaster[331:707] 对端视频状态GetCameraState------->0
2014-08-06 11:02:16.773 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=241,bOpen=1)
2014-08-06 11:02:16.780 EnterpriseStockMaster[331:707] Invoke BRAC_SetVideoPos(dwUserId:241, hWnd:0x266cb10, l:25, t:43, r:269, b:222)
2014-08-06 11:02:16.783 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=241,bOpen=1)
2014-08-06 11:02:16.787 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=-1,bOpen=1)
2014-08-06 11:02:16.790 EnterpriseStockMaster[331:707] Audio record control:1, result:-1
2014-08-06 11:02:16.794 EnterpriseStockMaster[331:707] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x26f9ba0, l:0, t:0, r:0, b:0)
2014-08-06 11:02:16.806 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=-1,bOpen=1)
2014-08-06 11:02:16.822 EnterpriseStockMaster[331:cc23] Default Audio Capture Driver()
2014-08-06 11:02:16.830 EnterpriseStockMaster[331:cc23] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-06 11:02:16.833 EnterpriseStockMaster[331:cc23] Audio codec init, handle:14, 11, 1, 16000, 16, 15850
2014-08-06 11:02:17.079 EnterpriseStockMaster[331:c7f7] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2014-08-06 11:02:17.845 EnterpriseStockMaster[331:c10f] Capture pixel format=NV12
2014-08-06 11:02:17.860 EnterpriseStockMaster[331:cc23] video init finish: 352x288, 25fps, fmt:100, ret:0
2014-08-06 11:02:17.867 EnterpriseStockMaster[331:cc23] video init finish:352x288, YUV420, fps:25
[libx264 @ 0x3617600] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x3617600] profile Constrained Baseline, level 3.0
2014-08-06 11:02:17.963 EnterpriseStockMaster[331:c10f] video codec init:codec:1, 10fps, 352x288, bitrate:150000, quality:3, preset:2, gop:24, handle:15
2014-08-06 11:03:51.519 EnterpriseStockMaster[331:840b] Message OnUserEnterRoom(userid=241,nickname=emp241,siteindex=1)
2014-08-06 11:03:52.048 EnterpriseStockMaster[331:707] 来自坐席端的消息!
2014-08-06 11:05:15.907 EnterpriseStockMaster[331:840b] Message OnUserLeaveRoom(userid=241,siteindex=1)
2014-08-06 11:06:07.212 EnterpriseStockMaster[331:840b] Message OnUserEnterRoom(userid=241,nickname=emp241,siteindex=1)
2014-08-06 11:06:07.592 EnterpriseStockMaster[331:707] 来自坐席端的消息!
2014-08-06 11:06:09.070 EnterpriseStockMaster[331:840b] Message OnUserEnterRoom(userid=24788,nickname=user24788,siteindex=2)
2014-08-06 11:06:51.440 EnterpriseStockMaster[331:707] Invoke LeaveRoom(roomid=-1) Elapse:290 ms
2014-08-06 11:06:51.454 EnterpriseStockMaster[331:707] Invoke LogoutServer(userid=18135) Elapse:10 ms
2014-08-06 11:06:51.457 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.460 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.462 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.464 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.470 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.474 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.476 EnterpriseStockMaster[331:707] Invoke UserSpeakControl(userid=-1,bOpen=0)
2014-08-06 11:06:51.478 EnterpriseStockMaster[331:707] Invoke UserCameraControl(userid=-1,bOpen=0) |
|