设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
楼主: william2014
打印 上一主题 下一主题

经常出现网络断开回调- (void) OnAnyChatLinkClose:(int) dwErrorCode

[复制链接]

23

主题

100

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
41#
 楼主| 发表于 2014-8-6 11:11:53 | 只看该作者
廖斌 发表于 2014-8-6 10:09
您好,这个不是异常日志。更新到最新版本的IOS SDK之后,就不会有这个提示了

多谢,还有个问题,我在切换网络收到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)
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
42#
发表于 2014-8-6 11:26:32 | 只看该作者
您好,建议升级iOS的SDK到最新版本,谢谢。
回复 支持 反对

使用道具 举报

16

主题

55

帖子

256

积分

中级会员

Rank: 3Rank: 3

积分
256
43#
发表于 2014-8-6 11:27:45 | 只看该作者
admin 发表于 2014-8-6 09:42
我们的SDK打包、发布都是通过脚本自动完成的,不太可能出现上面所说的V5.0的SDK包里面包含V4.8的库文件,可 ...

你们发布的时候没有发布完全。看截图

回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
44#
发表于 2014-8-6 11:33:02 | 只看该作者
是的,已经确认,是打包程序忽略了更新src目录里面的dll文件,抱歉,后续的打包发布将会更新这个问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-25 21:12 , Processed in 0.200299 second(s), 23 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表