设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

启动本地视频崩溃问题

[复制链接]

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
11#
发表于 2014-8-29 09:44:59 | 只看该作者
我们没有进行修改,一直没有问题,我们与对方进行视频通话,有可能是对方进行修改,导致我们这边这种崩溃吗?

不会因为对方的原因导致本地视频采集的异常。建议上传完整的日志文件我们帮您分析一下,可以用这个工具获取:http://bbs.anychat.cn/forum.php? ... &extra=page%3D1
回复 支持 反对

使用道具 举报

23

主题

100

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
12#
 楼主| 发表于 2014-8-29 11:27:38 | 只看该作者
admin 发表于 2014-8-29 09:44
不会因为对方的原因导致本地视频采集的异常。建议上传完整的日志文件我们帮您分析一下,可以用这个工具获 ...

对端(B)只是进行了视频服务器升级为4115,我这边(A)也是最新的sdk,以前测试时都没有问题,今天测试突然都出了问题,感觉很奇怪,代码程序一直没有动过。而且做了一下验证测试,进一步发现:
(1)注释掉  [self StartLocalVideoChat];依然崩溃;说明不是本地造成的崩溃,我初次发现有误。
(2)StartRemoteVideoChat 中注释掉[AnyChatPlatform SetVideoPos: userid : self.remoteVideoSurface:25:43:269:222];后,不会再崩溃;
以下为一次前段日志:

2014-08-29 11:22:21.080 EnterpriseStockMaster[491:92891] Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)
2014-08-29 11:22:21.085 EnterpriseStockMaster[491:92891] Load libmediashow.so success!(V4.9 Build Time:May  7 2014 09:38:28)
2014-08-29 11:22:21.089 EnterpriseStockMaster[491:92891] Load libmediacore.so success!(V4.9 Build Time:May  7 2014 09:38:25)
2014-08-29 11:22:21.100 EnterpriseStockMaster[491:92573] Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-29 11:22:21.102 EnterpriseStockMaster[491:92573] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-29 11:22:21.104 EnterpriseStockMaster[491:92573] Invoke        EnterRoom(roomid=10010522)
2014-08-29 11:22:21.152 EnterpriseStockMaster[491:92891] Connection to streaming media server successfully!(udp delay:29ms)
2014-08-29 11:22:21.255 EnterpriseStockMaster[491:92891] Message        OnEnterRoom(roomid=10010522,errorcode=0,siteindex=1)
2014-08-29 11:22:21.585 EnterpriseStockMaster[491:92891] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-29 11:22:21.590 EnterpriseStockMaster[491:92891] Message        OnReceiveOnlineUser(count=2,roomid=10010522)
2014-08-29 11:22:21.599 EnterpriseStockMaster[491:92573] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-08-29 11:22:21.601 EnterpriseStockMaster[491:92573] Audio record control:1, result:-1
2014-08-29 11:22:21.604 EnterpriseStockMaster[491:92573] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x32aa800, l:0, t:0, r:0, b:0)
2014-08-29 11:22:21.606 EnterpriseStockMaster[491:92573] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-08-29 11:22:21.608 EnterpriseStockMaster[491:92573] Invoke        UserSpeakControl(userid=10522,bOpen=1)
2014-08-29 11:22:21.653 EnterpriseStockMaster[491:92895] Default Audio Capture Driver()
2014-08-29 11:22:21.656 EnterpriseStockMaster[491:92573] Invoke        BRAC_SetVideoPos(dwUserId:10522, hWnd:0xacbcc20, l:25, t:43, r:269, b:222)
2014-08-29 11:22:21.658 EnterpriseStockMaster[491:92895] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-29 11:22:21.661 EnterpriseStockMaster[491:92573] Invoke        UserCameraControl(userid=10522,bOpen=1)
2014-08-29 11:22:21.664 EnterpriseStockMaster[491:92895] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
>>11:22:21.665445 [trace] <openAcount> ***视频见证:对方视频网络状态remoteNetworkStatus:5*** - VideoChatController.m:1270
>>11:22:21.665765 [trace] <openAcount> ***对端视频状态GetCameraState:1*** - VideoChatController.m:1274
2014-08-29 11:22:21.772 EnterpriseStockMaster[491:92895] WARNING: -[<AVCaptureConnection: 0xacd11d0> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-08-29 11:22:21.775 EnterpriseStockMaster[491:92895] WARNING: -[<AVCaptureConnection: 0xacd11d0> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-08-29 11:22:21.778 EnterpriseStockMaster[491:92573] -[UIImageView OnLocalVideoInit:]: unrecognized selector sent to instance 0xacbcc20
2014-08-29 11:22:21.923 EnterpriseStockMaster[491:92924] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
>>11:22:21.948525 [fatal] <(null)> CRASH: -[UIImageView OnLocalVideoInit:]: unrecognized selector sent to instance 0xacbcc20
Stack Trace: (
        0   CoreFoundation                      0x25f2cf8f <redacted> + 150
        1   libobjc.A.dylib                     0x33077c77 objc_exception_throw + 38
        2   CoreFoundation                      0x25f3236d <redacted> + 0
        3   CoreFoundation                      0x25f30249 <redacted> + 712
        4   CoreFoundation                      0x25e61d58 _CF_forwarding_prep_0 + 24
        5   Foundation                          0x26ca52af <redacted> + 386
        6   CoreFoundation                      0x25ef37f7 <redacted> + 14
        7   CoreFoundation                      0x25ef2c0b <redacted> + 222
        8   CoreFoundation                      0x25ef1289 <redacted> + 768
        9   CoreFoundation                      0x25e3eda1 CFRunLoopRunSpecific + 476
        10  CoreFoundation                      0x25e3ebb3 CFRunLoopRunInMode + 106
        11  GraphicsServices                    0x2d36c051 GSEventRunModal + 136
        12  UIKit                               0x29566c41 UIApplicationMain + 1440
        13  EnterpriseStockMaster               0x0053b349 main + 116
        14  EnterpriseStockMaster               0x00538c48 start + 40
) - UnCaughtExceptionHandlerForWind.m:28
connect time out
2014-08-29 11:22:22.248 EnterpriseStockMaster[491:92866] Capture pixel format=NV12
2014-08-29 11:22:22.959 EnterpriseStockMaster[491:92573] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView OnLocalVideoInit:]: unrecognized selector sent to instance 0xacbcc20'
*** First throw call stack:
(0x25f2cf77 0x33077c77 0x25f3236d 0x25f30249 0x25e61d58 0x26ca52af 0x25ef37f7 0x25ef2c0b 0x25ef1289 0x25e3eda1 0x25e3ebb3 0x2d36c051 0x29566c41 0x53b349 0x538c48)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
13#
发表于 2014-8-29 11:33:40 | 只看该作者
Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)

您iOS平台的SDK还是较早期的老版本,建议升级到最新版本

Invoke        UserCameraControl(userid=-1,bOpen=1)

从Log来看,您还是有打开本地的视频,请将注释掉  [self StartLocalVideoChat];之后依然崩溃时的log再贴上来,谢谢。
回复 支持 反对

使用道具 举报

23

主题

100

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
14#
 楼主| 发表于 2014-8-29 11:41:43 | 只看该作者
admin 发表于 2014-8-29 11:33
您iOS平台的SDK还是较早期的老版本,建议升级到最新版本

(1)奇怪了,我直接用你们5.0 demo中的sdk文件夹替换了我们的sdk文件夹,为何升级不成功?
(2)注掉之后的日志如下:
2014-08-29 11:38:54.710 EnterpriseStockMaster[518:96616] Server version: V5.0(Build Time:2014-08-01 17:30:24, Server OS:Linux)
2014-08-29 11:38:54.740 EnterpriseStockMaster[518:96616] Message        OnConnect(bSuccess:1, errorcode=0)
2014-08-29 11:38:54.752 EnterpriseStockMaster[518:96403] Invoke        LoginServer(username=user10522)
2014-08-29 11:38:55.088 EnterpriseStockMaster[518:96616] Message        OnLoginSystem(userid=10522,errorcode=0,username=user10522), msg deliver worked(0)
2014-08-29 11:38:55.092 EnterpriseStockMaster[518:96616] Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)
2014-08-29 11:38:55.094 EnterpriseStockMaster[518:96616] Load libmediashow.so success!(V4.9 Build Time:May  7 2014 09:38:28)
2014-08-29 11:38:55.096 EnterpriseStockMaster[518:96616] Load libmediacore.so success!(V4.9 Build Time:May  7 2014 09:38:25)
2014-08-29 11:38:55.112 EnterpriseStockMaster[518:96403] Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-29 11:38:55.114 EnterpriseStockMaster[518:96403] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-29 11:38:55.116 EnterpriseStockMaster[518:96403] Invoke        EnterRoom(roomid=10010522)
2014-08-29 11:38:55.143 EnterpriseStockMaster[518:96616] Connection to streaming media server successfully!(udp delay:18ms)
2014-08-29 11:38:55.185 EnterpriseStockMaster[518:96616] Message        OnEnterRoom(roomid=10010522,errorcode=0,siteindex=0)
2014-08-29 11:38:55.589 EnterpriseStockMaster[518:96616] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-29 11:38:55.591 EnterpriseStockMaster[518:96616] Message        OnReceiveOnlineUser(count=1,roomid=10010522)
2014-08-29 11:38:55.605 EnterpriseStockMaster[518:96403] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-08-29 11:38:55.607 EnterpriseStockMaster[518:96403] Audio record control:1, result:-1
2014-08-29 11:38:55.610 EnterpriseStockMaster[518:96403] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x3152600, l:0, t:0, r:0, b:0)
2014-08-29 11:38:55.612 EnterpriseStockMaster[518:96403] Invoke        UserCameraControl(userid=-1,bOpen=1)
>>11:38:55.613343 [trace] <openAcount> ***视频见证:anychat对端id获取失败userid(坐席未进入房间,用户提前进入房间,等待30s再提示异常):10522*** - VideoChatController.m:1139
2014-08-29 11:38:55.616 EnterpriseStockMaster[518:96403] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2014-08-29 11:38:55.704 EnterpriseStockMaster[518:96620] Default Audio Capture Driver()
2014-08-29 11:38:55.706 EnterpriseStockMaster[518:96403] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x3152600, l:0, t:0, r:0, b:0)
2014-08-29 11:38:55.709 EnterpriseStockMaster[518:96620] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-29 11:38:55.713 EnterpriseStockMaster[518:96403] Invoke        UserCameraControl(userid=-1,bOpen=1)
2014-08-29 11:38:55.718 EnterpriseStockMaster[518:96620] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2014-08-29 11:38:55.952 EnterpriseStockMaster[518:96620] WARNING: -[<AVCaptureConnection: 0x24d8a50> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-08-29 11:38:55.965 EnterpriseStockMaster[518:96620] WARNING: -[<AVCaptureConnection: 0x24d8a50> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-08-29 11:38:55.975 EnterpriseStockMaster[518:96656] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2014-08-29 11:38:56.620 EnterpriseStockMaster[518:96586] Capture pixel format=NV12
2014-08-29 11:38:56.622 EnterpriseStockMaster[518:96620] video init finish: 352x288, 25fps, fmt:100, ret:0
2014-08-29 11:38:56.624 EnterpriseStockMaster[518:96620] video init finish:352x288, YUV420, fps:25
2014-08-29 11:38:56.684 EnterpriseStockMaster[518:96616] Message        OnUserEnterRoom(userid=20000144,nickname=emp20000144,siteindex=1)
2014-08-29 11:38:56.704 EnterpriseStockMaster[518:96403] Invoke        UserSpeakControl(userid=10522,bOpen=1)
2014-08-29 11:38:56.707 EnterpriseStockMaster[518:96403] Invoke        UserCameraControl(userid=10522,bOpen=1)
2014-08-29 11:38:56.709 EnterpriseStockMaster[518:96403] Invoke        UserSpeakControl(userid=-1,bOpen=1)
[libx264 @ 0x31c4000] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x31c4000] profile Main, level 3.0
2014-08-29 11:38:56.787 EnterpriseStockMaster[518:96586] video codec init:codec:1, 10fps, 352x288, bitrate:150000, quality:3, preset:2, gop:24, handle:2
2014-08-29 11:38:56.792 EnterpriseStockMaster[518:96403] Invoke        BRAC_SetVideoPos(dwUserId:-1, hWnd:0x3152600, l:0, t:0, r:0, b:0)
2014-08-29 11:38:56.794 EnterpriseStockMaster[518:96403] Invoke        UserCameraControl(userid=-1,bOpen=1)
>>11:38:56.795975 [trace] <openAcount> ***视频见证:进入房间消息,OnAnyChatUserEnterRoom*** - VideoChatController.m:1204
connect time out
2014-08-29 11:38:58.085 EnterpriseStockMaster[518:96403] Received memory warning.
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
15#
发表于 2014-8-29 11:53:52 | 只看该作者
奇怪了,您注释掉了“[self StartLocalVideoChat];”,为什么log中还会提示上层应用打开了本地摄像头的API:Invoke        UserCameraControl(userid=-1,bOpen=1) ?
回复 支持 反对

使用道具 举报

5

主题

1269

帖子

3677

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3677
16#
发表于 2014-8-29 12:08:30 | 只看该作者
william2014 发表于 2014-8-29 11:41
(1)奇怪了,我直接用你们5.0 demo中的sdk文件夹替换了我们的sdk文件夹,为何升级不成功?
(2)注掉之 ...

(1)是否还有其他位置的SDK引用呢?看下那个文件的修改时间?
回复 支持 反对

使用道具 举报

23

主题

100

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
17#
 楼主| 发表于 2014-8-29 12:35:52 | 只看该作者
admin 发表于 2014-8-29 11:53
奇怪了,您注释掉了“[self StartLocalVideoChat];”,为什么log中还会提示上层应用打开了本地摄像头的API ...

(1)不好意思,上一段代码是注掉  [AnyChatPlatform SetVideoPos: userid : self.remoteVideoSurface:25:43:269:222];的日志,(注掉之后不会崩溃)
(2)下面是仅仅注掉StartLocalVideoChat之后的日志,此时也不会崩溃,但是看不到对端视频:
2014-08-29 12:31:49.253 EnterpriseStockMaster[535:101778] Message OnLoginSystem(userid=10522,errorcode=0,username=user10522), msg deliver worked(0)
2014-08-29 12:31:49.256 EnterpriseStockMaster[535:101778] Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)
2014-08-29 12:31:49.258 EnterpriseStockMaster[535:101778] Load libmediashow.so success!(V4.9 Build Time:May  7 2014 09:38:28)
2014-08-29 12:31:49.263 EnterpriseStockMaster[535:101778] Load libmediacore.so success!(V4.9 Build Time:May  7 2014 09:38:25)
2014-08-29 12:31:49.278 EnterpriseStockMaster[535:101535] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-29 12:31:49.280 EnterpriseStockMaster[535:101535] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-29 12:31:49.282 EnterpriseStockMaster[535:101535] Invoke EnterRoom(roomid=10010522)
2014-08-29 12:31:49.312 EnterpriseStockMaster[535:101778] Connection to streaming media server successfully!(udp delay:22ms)
2014-08-29 12:31:49.342 EnterpriseStockMaster[535:101778] Message OnEnterRoom(roomid=10010522,errorcode=0,siteindex=1)
2014-08-29 12:31:49.394 EnterpriseStockMaster[535:101778] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-29 12:31:49.397 EnterpriseStockMaster[535:101778] Message OnReceiveOnlineUser(count=2,roomid=10010522)
2014-08-29 12:31:49.409 EnterpriseStockMaster[535:101535] Invoke UserSpeakControl(userid=10522,bOpen=1)
2014-08-29 12:31:49.412 EnterpriseStockMaster[535:101535] Audio record control:1, result:-1
2014-08-29 12:31:49.415 EnterpriseStockMaster[535:101535] Invoke BRAC_SetVideoPos(dwUserId:10522, hWnd:0x73aa3c0, l:25, t:43, r:269, b:222)
2014-08-29 12:31:49.417 EnterpriseStockMaster[535:101535] Invoke UserCameraControl(userid=10522,bOpen=1)
2014-08-29 12:31:49.440 EnterpriseStockMaster[535:102095] Default Audio Capture Driver()
2014-08-29 12:31:49.442 EnterpriseStockMaster[535:102095] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-29 12:31:49.447 EnterpriseStockMaster[535:102095] Audio codec init, handle:3, 11, 1, 16000, 16, 15850
2014-08-29 12:31:49.531 EnterpriseStockMaster[535:102095] WARNING: -[<AVCaptureConnection: 0xf693ac0> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-08-29 12:31:49.533 EnterpriseStockMaster[535:102095] WARNING: -[<AVCaptureConnection: 0xf693ac0> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-08-29 12:31:49.697 EnterpriseStockMaster[535:101828] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2014-08-29 12:31:49.984 EnterpriseStockMaster[535:101755] Capture pixel format=NV12
2014-08-29 12:31:49.990 EnterpriseStockMaster[535:102095] video init finish: 352x288, 25fps, fmt:100, ret:0
2014-08-29 12:31:49.992 EnterpriseStockMaster[535:102095] video init finish:352x288, YUV420, fps:25
[libx264 @ 0x2934c00] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x2934c00] profile Main, level 3.0
2014-08-29 12:31:50.106 EnterpriseStockMaster[535:101756] video codec init:codec:1, 10fps, 352x288, bitrate:150000, quality:3, preset:2, gop:24, handle:4
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x1997b000] No accelerated colorspace conversion found from yuv420p to bgra.
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
18#
发表于 2014-8-29 12:58:00 | 只看该作者
您好,上面这份日志好象也不是注释掉“[self StartLocalVideoChat];”之后的,因为依然有打开本地视频API调用的记录:
2014-08-29 12:31:49.417 EnterpriseStockMaster[535:101535] Invoke UserCameraControl(userid=10522,bOpen=1)
因为10522就是本地用户ID:
Message OnLoginSystem(userid=10522,errorcode=0,username=user10522)

请再次确认一下?
回复 支持 反对

使用道具 举报

23

主题

100

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
19#
 楼主| 发表于 2014-8-29 13:08:43 | 只看该作者
本帖最后由 william2014 于 2014-8-29 13:15 编辑
admin 发表于 2014-8-29 12:58
您好,上面这份日志好象也不是注释掉“[self StartLocalVideoChat];”之后的,因为依然有打开本地视频API调 ...


没错,就是这样子,UserCameraControl(userid=10522,bOpen=1) 这个应该是第一次苹果提示我就打开了,所以就一直开着了~,对端用户就是10522没错。
2014-08-29 13:05:20.124 EnterpriseStockMaster[556:106210] Message        OnLoginSystem(userid=10522,errorcode=0,username=user10522), msg deliver worked(0)
2014-08-29 13:05:20.130 EnterpriseStockMaster[556:106210] Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)
2014-08-29 13:05:20.134 EnterpriseStockMaster[556:106210] Load libmediashow.so success!(V4.9 Build Time:May  7 2014 09:38:28)
2014-08-29 13:05:20.136 EnterpriseStockMaster[556:106210] Load libmediacore.so success!(V4.9 Build Time:May  7 2014 09:38:25)
2014-08-29 13:05:20.145 EnterpriseStockMaster[556:106015] Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-29 13:05:20.147 EnterpriseStockMaster[556:106015] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-29 13:05:20.149 EnterpriseStockMaster[556:106015] Invoke        EnterRoom(roomid=10010522)
2014-08-29 13:05:20.208 EnterpriseStockMaster[556:106210] Connection to streaming media server successfully!(udp delay:34ms)
2014-08-29 13:05:20.282 EnterpriseStockMaster[556:106210] Message        OnEnterRoom(roomid=10010522,errorcode=0,siteindex=1)
2014-08-29 13:05:20.612 EnterpriseStockMaster[556:106210] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-29 13:05:20.616 EnterpriseStockMaster[556:106210] Message        OnReceiveOnlineUser(count=2,roomid=10010522)
2014-08-29 13:05:20.631 EnterpriseStockMaster[556:106015] Invoke        UserSpeakControl(userid=10522,bOpen=1)
2014-08-29 13:05:20.633 EnterpriseStockMaster[556:106015] Audio record control:1, result:-1
2014-08-29 13:05:20.636 EnterpriseStockMaster[556:106015] Invoke        BRAC_SetVideoPos(dwUserId:10522, hWnd:0x730b2b0, l:25, t:43, r:269, b:222)
2014-08-29 13:05:20.638 EnterpriseStockMaster[556:106015] Invoke        UserCameraControl(userid=10522,bOpen=1)
2014-08-29 13:05:20.699 EnterpriseStockMaster[556:106214] Default Audio Capture Driver()
2014-08-29 13:05:20.702 EnterpriseStockMaster[556:106214] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-29 13:05:20.708 EnterpriseStockMaster[556:106214] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2014-08-29 13:05:20.792 EnterpriseStockMaster[556:106214] WARNING: -[<AVCaptureConnection: 0x2360c10> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-08-29 13:05:20.793 EnterpriseStockMaster[556:106214] WARNING: -[<AVCaptureConnection: 0x2360c10> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-08-29 13:05:20.966 EnterpriseStockMaster[556:106279] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
connect time out
2014-08-29 13:05:21.258 EnterpriseStockMaster[556:106304] Capture pixel format=NV12
2014-08-29 13:05:21.266 EnterpriseStockMaster[556:106214] video init finish: 352x288, 25fps, fmt:100, ret:0
2014-08-29 13:05:21.268 EnterpriseStockMaster[556:106214] video init finish:352x288, YUV420, fps:25
[libx264 @ 0x316fc00] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x316fc00] profile Main, level 3.0
2014-08-29 13:05:21.420 EnterpriseStockMaster[556:106304] video codec init:codec:1, 10fps, 352x288, bitrate:150000, quality:3, preset:2, gop:24, handle:2
[swscaler @ 0x19e66000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x19e66000] No accelerated colorspace conversion found from yuv420p to bgra.
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
20#
发表于 2014-8-29 13:51:13 | 只看该作者
对端用户就是10522没错

您上传的这份日志信息是本地的,还是对端的?

从日志信息来看,这份日志的本地userid=10522,对方的userid=10010522,同时日志中也显示打开了本地摄像头:
Invoke        UserCameraControl(userid=10522,bOpen=1)

所以,这份日志不像在userid=10522这边屏蔽了“[self StartLocalVideoChat];”之后的日志?
也就是说,如果上层应用屏蔽了“[self StartLocalVideoChat];”之后,则日志不应该出现:
Invoke        UserCameraControl(userid=本地用户ID,bOpen=1)或是:
Invoke        UserCameraControl(userid=-1,bOpen=1)
这两条日志记录,如果屏蔽之后,日志还会出现,则请检查一下代码。

请确认,谢谢。


回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 03:59 , Processed in 0.143449 second(s), 20 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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