设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 9854|回复: 12
打印 上一主题 下一主题

自定义tabbar item弹出好友列表,用的addsubview后点table无法切换视频原因

[复制链接]

7

主题

38

帖子

177

积分

注册会员

Rank: 2

积分
177
跳转到指定楼层
楼主
发表于 2014-9-29 16:48:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
2014-09-29 16:46:27.380 AnyChat[17419:60b] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2014-09-29 16:46:27.381 AnyChat[17419:60b] Load libanychatcore.so success!(V5.0 Build Time:Aug 26 2014 10:05:00)
2014-09-29 16:46:27.383 AnyChat[17419:60b] Load libmediautil.so success!(V5.0 Build Time:Aug 26 2014 10:05:28)
2014-09-29 16:46:27.384 AnyChat[17419:60b] Load libmediashow.so success!(V5.0 Build Time:Aug 26 2014 10:05:26)
2014-09-29 16:46:27.385 AnyChat[17419:60b] Load libmediacore.so success!(V5.0 Build Time:Aug 26 2014 10:05:21)
2014-09-29 16:46:36.408 AnyChat[17419:60b] Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
2014-09-29 16:46:36.408 AnyChat[17419:60b] Invoke        LoginServer(username=abc)
2014-09-29 16:46:36.512 AnyChat[17419:3403] CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
2014-09-29 16:46:36.576 AnyChat[17419:3403] Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
2014-09-29 16:46:36.587 AnyChat[17419:3403] Message        OnConnect(bSuccess:1, errorcode=0)
2014-09-29 16:46:37.824 AnyChat[17419:3403] OnReceiveUserDefine(dwSrcUserId:0, dwTarUserId:-1, dwCommand:13, wParam:0, lParam:0, dwBufSize:212)
2014-09-29 16:46:37.845 AnyChat[17419:3403] Message        OnLoginSystem(userid=7765,errorcode=0,username=abc), msg deliver worked(0)
2014-09-29 16:46:37.846 AnyChat[17419:3403] Load libmediautil.so success!(V5.0 Build Time:Aug 26 2014 10:05:28)
2014-09-29 16:46:37.846 AnyChat[17419:3403] Load libmediashow.so success!(V5.0 Build Time:Aug 26 2014 10:05:26)
2014-09-29 16:46:37.847 AnyChat[17419:3403] Load libmediacore.so success!(V5.0 Build Time:Aug 26 2014 10:05:21)
2014-09-29 16:46:37.852 AnyChat[17419:60b] Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
2014-09-29 16:46:37.852 AnyChat[17419:60b] Apply video parameter:352x288, bitrate:180000, quality:3, gop:24, fps:12, preset:2, codec:0
2014-09-29 16:46:37.911 AnyChat[17419:3403] Connection to streaming media server successfully!(udp delay:32ms)
2014-09-29 16:46:38.855 AnyChat[17419:60b] Invoke        EnterRoom(roomid=1)
2014-09-29 16:46:39.989 AnyChat[17419:3403] Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=4)
2014-09-29 16:46:40.912 AnyChat[17419:3403] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-09-29 16:46:40.945 AnyChat[17419:3403] Message        OnReceiveOnlineUser(count=4,roomid=1)
2014-09-29 16:46:41.315 AnyChat[17419:4e2b] socket error, disconnected by peer!, bTcp(1) - userid(7525)
2014-09-29 16:46:43.116 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-09-29 16:46:43.117 AnyChat[17419:60b] Audio record control:1, result:-1
2014-09-29 16:46:43.117 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x9e57570, l:0, t:0, r:0, b:0)
2014-09-29 16:46:43.118 AnyChat[17419:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-09-29 16:46:43.118 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=7525,bOpen=1)
2014-09-29 16:46:43.127 AnyChat[17419:3707] Default Audio Capture Driver()
2014-09-29 16:46:43.134 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:7525, hWnd:0xa1edaf0, l:0, t:0, r:0, b:0)
2014-09-29 16:46:43.134 AnyChat[17419:3707] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-09-29 16:46:43.135 AnyChat[17419:60b] Invoke        UserCameraControl(userid=7525,bOpen=1)
2014-09-29 16:46:43.147 AnyChat[17419:3707] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2014-09-29 16:46:43.256 AnyChat[17419:3707] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-09-29 16:46:43.256 AnyChat[17419:3707] ****Open Local Video Fail,ErrorCode:10001
2014-09-29 16:46:44.358 AnyChat[17419:60b] Selected is 0
2014-09-29 16:46:46.860 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-09-29 16:46:46.860 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x9e57570, l:0, t:0, r:0, b:0)
2014-09-29 16:46:46.860 AnyChat[17419:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-09-29 16:46:46.861 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=7525,bOpen=1)
2014-09-29 16:46:46.861 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:7525, hWnd:0xa1edaf0, l:0, t:0, r:0, b:0)
2014-09-29 16:46:46.862 AnyChat[17419:60b] Invoke        UserCameraControl(userid=7525,bOpen=1)
2014-09-29 16:46:46.960 AnyChat[17419:3707] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-09-29 16:46:46.961 AnyChat[17419:3707] ****Open Local Video Fail,ErrorCode:10001
2014-09-29 16:46:49.298 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-09-29 16:46:49.298 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x9e57570, l:0, t:0, r:0, b:0)
2014-09-29 16:46:49.299 AnyChat[17419:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-09-29 16:46:49.299 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=7662,bOpen=1)
2014-09-29 16:46:49.300 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:7662, hWnd:0xa1edaf0, l:0, t:0, r:0, b:0)
2014-09-29 16:46:49.300 AnyChat[17419:60b] Invoke        UserCameraControl(userid=7662,bOpen=1)
2014-09-29 16:46:49.399 AnyChat[17419:3707] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-09-29 16:46:49.400 AnyChat[17419:3707] ****Open Local Video Fail,ErrorCode:10001
2014-09-29 16:46:50.514 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-09-29 16:46:50.514 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x9e57570, l:0, t:0, r:0, b:0)
2014-09-29 16:46:50.515 AnyChat[17419:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-09-29 16:46:50.515 AnyChat[17419:60b] Invoke        UserSpeakControl(userid=7759,bOpen=1)
2014-09-29 16:46:50.516 AnyChat[17419:60b] Invoke        BRAC_SetVideoPos(dwUserId:7759, hWnd:0xa1edaf0, l:0, t:0, r:0, b:0)
2014-09-29 16:46:50.516 AnyChat[17419:60b] Invoke        UserCameraControl(userid=7759,bOpen=1)
2014-09-29 16:46:50.616 AnyChat[17419:3707] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-09-29 16:46:50.617 AnyChat[17419:3707] ****Open Local Video Fail,ErrorCode:10001


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
沙发
发表于 2014-9-29 16:52:16 | 只看该作者
2014-09-29 16:46:27.381 AnyChat[17419:60b] Load libanychatcore.so success!(V5.0 Build Time:Aug 26 2014 10:05:00

您好,建议升级SDK到最新版本。

另外请将打开视频部分的代码帖出来,我们帮您分析一下,谢谢。
回复 支持 反对

使用道具 举报

7

主题

38

帖子

177

积分

注册会员

Rank: 2

积分
177
板凳
 楼主| 发表于 2014-10-8 11:44:21 | 只看该作者
admin 发表于 2014-9-29 16:52
您好,建议升级SDK到最新版本。

另外请将打开视频部分的代码帖出来,我们帮您分析一下,谢谢。

还有你们demo里没有文字聊天的功能?
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
地板
发表于 2014-10-8 11:50:43 | 只看该作者
支持的,发送文字消息的API接口:
  1. // 传送文本消息
  2. + (int) SendTextMessage: (int) dwUserid : (BOOL) bSecret : (NSString*) lpMsgBuf;
复制代码
接收文字消息的事件:
  1. // AnyChat 文字消息事件协议
  2. @protocol AnyChatTextMsgDelegate <NSObject>
  3. // 发送文字的回调函数
  4. - (void) OnAnyChatTextMsgCallBack:(int) dwFromUserid : (int) dwToUserid : (BOOL) bSecret : (NSString*) lpMsgBuf;
  5. @end
复制代码
回复 支持 反对

使用道具 举报

7

主题

38

帖子

177

积分

注册会员

Rank: 2

积分
177
5#
 楼主| 发表于 2014-10-17 10:55:47 | 只看该作者
2014-10-17 10:52:09.006 helloAnyChat[56976:60b] Application windows are expected to have a root view controller at the end of application launch
2014-10-17 10:52:09.047 helloAnyChat[56976:60b] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2014-10-17 10:52:09.050 helloAnyChat[56976:60b] Load libanychatcore.so success!(V5.1 Build Time:Sep 23 2014 11:34:29)
2014-10-17 10:52:09.135 helloAnyChat[56976:60b] Load libmediautil.so success!(V5.1 Build Time:Sep 23 2014 11:35:26)
2014-10-17 10:52:09.136 helloAnyChat[56976:60b] Load libmediashow.so success!(V5.1 Build Time:Sep 23 2014 11:35:23)
2014-10-17 10:52:09.138 helloAnyChat[56976:60b] Load libmediacore.so success!(V5.1 Build Time:Sep 23 2014 11:35:16)
2014-10-17 10:52:11.175 helloAnyChat[56976:60b] Invoke        LogoutServer(userid=-1)        Elapse:7 ms
2014-10-17 10:52:11.176 helloAnyChat[56976:60b] Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
2014-10-17 10:52:11.180 helloAnyChat[56976:60b] Invoke        LoginServer(username=HelloAnyChat)
2014-10-17 10:52:11.268 helloAnyChat[56976:3803] CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
2014-10-17 10:52:11.342 helloAnyChat[56976:3803] Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
2014-10-17 10:52:11.364 helloAnyChat[56976:3803] Message        OnConnect(bSuccess:1, errorcode=0)
2014-10-17 10:52:11.703 helloAnyChat[56976:3803] Message        OnLoginSystem(userid=-6832,errorcode=0,username=HelloAnyChat), msg deliver worked(0)
2014-10-17 10:52:11.704 helloAnyChat[56976:3803] Load libmediautil.so success!(V5.1 Build Time:Sep 23 2014 11:35:26)
2014-10-17 10:52:11.705 helloAnyChat[56976:3803] Load libmediashow.so success!(V5.1 Build Time:Sep 23 2014 11:35:23)
2014-10-17 10:52:11.705 helloAnyChat[56976:3803] Load libmediacore.so success!(V5.1 Build Time:Sep 23 2014 11:35:16)
2014-10-17 10:52:11.708 helloAnyChat[56976:60b] Invoke        EnterRoom(roomid=1)
2014-10-17 10:52:11.823 helloAnyChat[56976:3803] Connection to streaming media server successfully!(udp delay:58ms)
2014-10-17 10:52:11.877 helloAnyChat[56976:3803] Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=6)
2014-10-17 10:52:11.927 helloAnyChat[56976:3803] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-10-17 10:52:11.928 helloAnyChat[56976:3803] Message        OnReceiveOnlineUser(count=7,roomid=1)
2014-10-17 10:52:12.109 helloAnyChat[56976:3803] On Remote UserCameraControl(dwUserId:-6831, bOpen:1)
2014-10-17 10:52:12.130 helloAnyChat[56976:3803] On Remote UserSpeakControl(dwUserId:-6831, bOpen:1)
2014-10-17 10:52:12.203 helloAnyChat[56976:3803] Message        OnP2PConnectState(userid=-6708, state=2)
2014-10-17 10:52:12.627 helloAnyChat[56976:3803] Message        OnP2PConnectState(userid=-6821, state=2)
2014-10-17 10:52:12.681 helloAnyChat[56976:3803] Message        OnP2PConnectState(userid=-6821, state=3)
2014-10-17 10:52:14.775 helloAnyChat[56976:3803] Message        OnUserLeaveRoom(userid=-6831,siteindex=2)
2014-10-17 10:52:16.756 helloAnyChat[56976:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-10-17 10:52:16.865 helloAnyChat[56976:60b] Audio record control:1, result:-1
2014-10-17 10:52:16.869 helloAnyChat[56976:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0xa082bc0, l:0, t:0, r:0, b:0)
2014-10-17 10:52:16.975 helloAnyChat[56976:4607] Default Audio Capture Driver()
2014-10-17 10:52:16.975 helloAnyChat[56976:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-10-17 10:52:16.981 helloAnyChat[56976:4607] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-10-17 10:52:16.981 helloAnyChat[56976:60b] Invoke        UserSpeakControl(userid=-6821,bOpen=1)
2014-10-17 10:52:17.138 helloAnyChat[56976:4607] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2014-10-17 10:52:17.138 helloAnyChat[56976:60b] Invoke        BRAC_SetVideoPos(dwUserId:-6821, hWnd:0xa0a1630, l:0, t:0, r:0, b:0)
2014-10-17 10:52:17.139 helloAnyChat[56976:60b] Invoke        UserCameraControl(userid=-6821,bOpen=1)
2014-10-17 10:52:17.143 helloAnyChat[56976:4607] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-10-17 10:52:17.426 helloAnyChat[56976:4607] ****Open Local Video Fail,ErrorCode:10001
2014-10-17 10:52:19.158 helloAnyChat[56976:3803] Message        OnUserLeaveRoom(userid=-6823,siteindex=5)
2014-10-17 10:52:19.855 helloAnyChat[56976:3f03] userid(-6821) video decode delay:2ms
2014-10-17 10:52:21.984 helloAnyChat[56976:3803] Message        OnUserEnterRoom(userid=-6833,nickname=xcode6,siteindex=2)
2014-10-17 10:52:26.268 helloAnyChat[56976:3b0b] socket error, disconnected by peer!, bTcp(1) - userid(-6831)
2014-10-17 10:52:27.735 helloAnyChat[56976:3803] Message        OnP2PConnectState(userid=-6833, state=2)


本地摄像头为什么打不开?
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
6#
发表于 2014-10-17 11:00:15 | 只看该作者
您好,请重新下载[ur=http://www.anychat.cn/download.html?t=iOSl]AnyChat for iOS SDK[/url],升级库文件,我们有对helloAnyChat程序进行优化。
回复 支持 反对

使用道具 举报

7

主题

38

帖子

177

积分

注册会员

Rank: 2

积分
177
7#
 楼主| 发表于 2014-10-17 11:38:34 | 只看该作者
2014-10-17 11:37:47.013 helloAnyChat[57240:60b] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2014-10-17 11:37:47.020 helloAnyChat[57240:60b] Load libanychatcore.so success!(V5.1 Build Time:Oct 14 2014 11:32:01)
2014-10-17 11:37:47.026 helloAnyChat[57240:60b] Load libmediautil.so success!(V5.2 Build Time:Oct 14 2014 11:32:51)
2014-10-17 11:37:47.027 helloAnyChat[57240:60b] Load libmediashow.so success!(V5.1 Build Time:Oct 14 2014 11:32:47)
2014-10-17 11:37:47.029 helloAnyChat[57240:60b] Load libmediacore.so success!(V5.1 Build Time:Oct 14 2014 11:32:39)
2014-10-17 11:37:48.195 helloAnyChat[57240:60b] Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
2014-10-17 11:37:48.196 helloAnyChat[57240:60b] Invoke        LoginServer(username=HelloAnyChat)
2014-10-17 11:37:48.200 helloAnyChat[57240:3603] CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
2014-10-17 11:37:48.359 helloAnyChat[57240:3603] Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows)
2014-10-17 11:37:48.380 helloAnyChat[57240:3603] Message        OnConnect(bSuccess:1, errorcode=0)
2014-10-17 11:37:48.849 helloAnyChat[57240:3603] Message        OnLoginSystem(userid=-6926,errorcode=0,username=HelloAnyChat), msg deliver worked(0)
2014-10-17 11:37:48.850 helloAnyChat[57240:3603] Load libmediautil.so success!(V5.2 Build Time:Oct 14 2014 11:32:51)
2014-10-17 11:37:48.851 helloAnyChat[57240:3603] Load libmediashow.so success!(V5.1 Build Time:Oct 14 2014 11:32:47)
2014-10-17 11:37:48.852 helloAnyChat[57240:3603] Load libmediacore.so success!(V5.1 Build Time:Oct 14 2014 11:32:39)
2014-10-17 11:37:48.857 helloAnyChat[57240:60b] Invoke        EnterRoom(roomid=1)
2014-10-17 11:37:48.970 helloAnyChat[57240:3603] Connection to streaming media server successfully!(udp delay:58ms)
2014-10-17 11:37:48.992 helloAnyChat[57240:3603] Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=3)
2014-10-17 11:37:49.042 helloAnyChat[57240:3603] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-10-17 11:37:49.043 helloAnyChat[57240:3603] Message        OnReceiveOnlineUser(count=6,roomid=1)
2014-10-17 11:37:49.362 helloAnyChat[57240:3603] On Remote UserCameraControl(dwUserId:-6924, bOpen:1)
2014-10-17 11:37:49.372 helloAnyChat[57240:3603] On Remote UserSpeakControl(dwUserId:-6924, bOpen:1)
2014-10-17 11:37:50.733 helloAnyChat[57240:420b] socket error, disconnected by peer!, bTcp(1) - userid(-6872)
2014-10-17 11:37:53.031 helloAnyChat[57240:60b] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-10-17 11:37:53.031 helloAnyChat[57240:60b] Audio record control:1, result:-1
2014-10-17 11:37:53.032 helloAnyChat[57240:60b] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0xa02ca10, l:0, t:0, r:0, b:0)
2014-10-17 11:37:53.036 helloAnyChat[57240:60b] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-10-17 11:37:53.036 helloAnyChat[57240:3907] Default Audio Capture Driver()
2014-10-17 11:37:53.037 helloAnyChat[57240:60b] Invoke        UserSpeakControl(userid=11648,bOpen=1)
2014-10-17 11:37:53.037 helloAnyChat[57240:3907] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-10-17 11:37:53.038 helloAnyChat[57240:60b] Invoke        BRAC_SetVideoPos(dwUserId:11648, hWnd:0xa02ea10, l:0, t:0, r:0, b:0)
2014-10-17 11:37:53.038 helloAnyChat[57240:3907] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2014-10-17 11:37:53.039 helloAnyChat[57240:60b] Invoke        UserCameraControl(userid=11648,bOpen=1)
2014-10-17 11:37:53.140 helloAnyChat[57240:3907] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-10-17 11:37:53.141 helloAnyChat[57240:3907] ****Open Local Video Fail,ErrorCode:10001
还是打不开
回复 支持 反对

使用道具 举报

8#
发表于 2014-10-17 11:44:44 | 只看该作者
您好,您是否有找另外的机子试过呢?用我们标准的demo?
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
9#
发表于 2014-10-17 11:47:25 | 只看该作者
您好,请问您是在什么设备上运行的?iOS版本号是多少?
是虚拟机吗?建议使用真机运行,谢谢。

回复 支持 反对

使用道具 举报

7

主题

38

帖子

177

积分

注册会员

Rank: 2

积分
177
10#
 楼主| 发表于 2014-10-21 10:29:11 | 只看该作者
我用的虚拟机不行是吗?还有问下有没有ios的传送文件的相关示例代码,谢谢啦~
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 17:09 , Processed in 0.138559 second(s), 21 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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