|
以下是日志:我进行了两次handleDoubleTap,第一次只是触发了OnLocalVideoRelease,没有触发OnLocalVideoInit,所以导致本机的画面冻结,对方画面正常切换。
2014-11-11 09:17:43.361 CVNetVideo[344:92430] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2014-11-11 09:17:43.368 CVNetVideo[344:92430] Load libanychatcore.so success!(V5.1 Build Time:Nov 5 2014 22:21:19)
2014-11-11 09:17:43.375 CVNetVideo[344:92430] Load libmediautil.so success!(V5.2 Build Time:Nov 5 2014 22:21:54)
2014-11-11 09:17:43.386 CVNetVideo[344:92430] Load libmediashow.so success!(V5.1 Build Time:Nov 5 2014 22:21:49)
2014-11-11 09:17:43.392 CVNetVideo[344:92430] Load libmediacore.so success!(V5.1 Build Time:Nov 5 2014 22:21:44)
2014-11-11 09:17:44.563 CVNetVideo[344:92430] 下载成功
2014-11-11 09:17:44.584 CVNetVideo[344:92430] 保存成功./private/var/mobile/Containers/Data/Application/9F87EDB7-5661-40C4-8559-AF78B6DBE7DE/tmp/main.cfg
2014-11-11 09:17:44.861 CVNetVideo[344:92430] LoadConfig::/private/var/mobile/Containers/Data/Application/9F87EDB7-5661-40C4-8559-AF78B6DBE7DE/tmp/main.cfg
2014-11-11 09:17:45.771 CVNetVideo[344:92430] Invoke BRAC_Connect(demo.anychat.cn,8906)=0
2014-11-11 09:17:45.775 CVNetVideo[344:92430] Invoke LoginServer(username=strongs111)
2014-11-11 09:17:45.839 CVNetVideo[344:92500] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
2014-11-11 09:17:45.988 CVNetVideo[344:92500] Server version: V5.1(Build Time:2014-11-10 16:17:42, Server OS:Windows)
2014-11-11 09:17:46.018 CVNetVideo[344:92500] Message OnConnect(bSuccess:1, errorcode=0)
2014-11-11 09:17:46.360 CVNetVideo[344:92500] Message OnLoginSystem(userid=-274,errorcode=0,username=strongs111), msg deliver worked(0)
2014-11-11 09:17:46.365 CVNetVideo[344:92500] Load libmediautil.so success!(V5.2 Build Time:Nov 5 2014 22:21:54)
2014-11-11 09:17:46.371 CVNetVideo[344:92500] Load libmediashow.so success!(V5.1 Build Time:Nov 5 2014 22:21:49)
2014-11-11 09:17:46.377 CVNetVideo[344:92500] Load libmediacore.so success!(V5.1 Build Time:Nov 5 2014 22:21:44)
2014-11-11 09:17:46.387 CVNetVideo[344:92500] Server running time: 0 days, 16 hours, 52 minutes, license mode:1
2014-11-11 09:17:46.436 CVNetVideo[344:92500] Connection to streaming media server successfully!(udp delay:25ms)
2014-11-11 09:17:47.908 CVNetVideo[344:92430] 当前设置的摄像头:2-Front Facing Camera
2014-11-11 09:17:47.962 CVNetVideo[344:92430] Reachability Flag Status: -R ------d localWiFiStatusForFlags
2014-11-11 09:17:48.885 CVNetVideo[344:92430] 用户'strongs111'(-274)登录服务器成功!
2014-11-11 09:18:01.923 CVNetVideo[344:92430] Invoke EnterRoom(strongs)
2014-11-11 09:18:01.928 CVNetVideo[344:92430] Invoke AudioGetVolume(device:0, dwVolume:50)=0
2014-11-11 09:18:01.931 CVNetVideo[344:92430] Invoke AudioGetVolume(device:1, dwVolume:50)=0
2014-11-11 09:18:01.945 CVNetVideo[344:92430] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x5132f90, l:0, t:0, r:0, b:0)
2014-11-11 09:18:01.952 CVNetVideo[344:92430] Invoke UserCameraControl(userid=-1,bOpen=0)
2014-11-11 09:18:03.197 CVNetVideo[344:92500] Message OnEnterRoom(roomid=8,errorcode=0,siteindex=1)
2014-11-11 09:18:03.893 CVNetVideo[344:92500] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-11-11 09:18:03.897 CVNetVideo[344:92500] Message OnReceiveOnlineUser(count=2,roomid=8)
2014-11-11 09:18:03.901 CVNetVideo[344:92430] 成功进入房间'strongs'(8)
2014-11-11 09:18:19.760 CVNetVideo[344:92430] Invoke UserCameraControl(userid=-1,bOpen=0)
2014-11-11 09:18:19.764 CVNetVideo[344:92430] Invoke UserSpeakControl(userid=-1,bOpen=0)
2014-11-11 09:18:19.767 CVNetVideo[344:92500] On Remote UserCameraControl(dwUserId:-273, bOpen:1)
2014-11-11 09:18:19.779 CVNetVideo[344:92430] Invoke BRAC_SetVideoPos(dwUserId:-273, hWnd:0x51c2010, l:0, t:0, r:177, b:236)
2014-11-11 09:18:19.782 CVNetVideo[344:92500] On Remote UserSpeakControl(dwUserId:-273, bOpen:1)
2014-11-11 09:18:19.784 CVNetVideo[344:92430] Invoke UserCameraControl(userid=-273,bOpen=1)
2014-11-11 09:18:19.790 CVNetVideo[344:92430] Invoke UserSpeakControl(userid=-273,bOpen=1)
2014-11-11 09:18:19.831 CVNetVideo[344:92500] Message OnP2PConnectState(userid=-273, state=2)
2014-11-11 09:18:19.917 CVNetVideo[344:92500] Message OnP2PConnectState(userid=-273, state=3)
2014-11-11 09:18:20.227 CVNetVideo[344:92430] Invoke UserCameraControl(userid=-1,bOpen=1)
2014-11-11 09:18:20.744 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0x18d24a90> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-11-11 09:18:20.748 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0x18d24a90> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-11-11 09:18:20.761 CVNetVideo[344:92430] OnLocalVideoInit
2014-11-11 09:18:21.721 CVNetVideo[344:92504] video init finish: 480x360, 25fps, fmt:100, ret:0
2014-11-11 09:18:21.727 CVNetVideo[344:92504] video init finish:480x360, YUV420, fps:25
[libx264 @ 0x20e2010] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x20e2010] profile High, level 2.1
2014-11-11 09:18:22.415 CVNetVideo[344:92829] video codec init:codec:1, 15fps, 480x360, bitrate:90kbps, quality:3, preset:3, gop:30, handle:1
[libx264 @ 0x20e2010] frame I:2 Avg QP:27.89 size: 2624
[libx264 @ 0x20e2010] frame P:16 Avg QP:40.49 size: 1044
[libx264 @ 0x20e2010] mb I I16..4: 35.7% 62.0% 2.2%
[libx264 @ 0x20e2010] mb P I16..4: 15.5% 16.3% 0.0% P16..4: 18.4% 4.6% 1.1% 0.0% 0.0% skip:44.0%
[libx264 @ 0x20e2010] 8x8 transform intra:54.2% inter:58.9%
[libx264 @ 0x20e2010] coded y,uvDC,uvAC intra: 18.9% 31.3% 1.3% inter: 2.7% 12.7% 0.0%
[libx264 @ 0x20e2010] i16 v,h,dc,p: 42% 26% 16% 16%
[libx264 @ 0x20e2010] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 17% 52% 2% 2% 2% 2% 3% 4%
[libx264 @ 0x20e2010] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 15% 35% 3% 5% 4% 2% 6% 8%
[libx264 @ 0x20e2010] i8c dc,h,v,p: 83% 8% 8% 1%
[libx264 @ 0x20e2010] Weighted P-Frames: Y:6.2% UV:6.2%
[libx264 @ 0x20e2010] kb/s:146.36
2014-11-11 09:18:25.461 CVNetVideo[344:92430] handleDoubleTap::当前设置的摄像头:1-Back Facing Camera
2014-11-11 09:18:25.469 CVNetVideo[344:92430] OnLocalVideoRelease
2014-11-11 09:18:25.581 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0xebbfe50> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-11-11 09:18:25.584 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0xebbfe50> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-11-11 09:18:25.797 CVNetVideo[344:92504] video init finish: 480x360, 25fps, fmt:100, ret:0
2014-11-11 09:18:25.804 CVNetVideo[344:92504] video init finish:480x360, YUV420, fps:25
[libx264 @ 0x19fe210] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x19fe210] profile High, level 2.1
2014-11-11 09:18:26.168 CVNetVideo[344:92834] video codec init:codec:1, 15fps, 480x360, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
[libx264 @ 0x19fe210] frame I:7 Avg QP:26.55 size: 4497
[libx264 @ 0x19fe210] frame P:186 Avg QP:28.32 size: 575
[libx264 @ 0x19fe210] mb I I16..4: 32.4% 56.3% 11.3%
[libx264 @ 0x19fe210] mb P I16..4: 2.4% 2.1% 0.0% P16..4: 21.0% 4.2% 0.7% 0.0% 0.0% skip:69.5%
[libx264 @ 0x19fe210] 8x8 transform intra:51.0% inter:41.6%
[libx264 @ 0x19fe210] coded y,uvDC,uvAC intra: 42.9% 23.8% 3.3% inter: 2.3% 5.1% 0.0%
[libx264 @ 0x19fe210] i16 v,h,dc,p: 43% 24% 17% 16%
[libx264 @ 0x19fe210] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 14% 45% 4% 4% 3% 6% 4% 4%
[libx264 @ 0x19fe210] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 21% 25% 3% 6% 2% 17% 7% 3%
[libx264 @ 0x19fe210] i8c dc,h,v,p: 78% 10% 11% 0%
[libx264 @ 0x19fe210] Weighted P-Frames: Y:1.6% UV:1.1%
[libx264 @ 0x19fe210] kb/s:86.03
2014-11-11 09:18:44.833 CVNetVideo[344:92430] handleDoubleTap::当前设置的摄像头:2-Front Facing Camera
2014-11-11 09:18:44.945 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0x19ea7290> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2014-11-11 09:18:44.946 CVNetVideo[344:92504] WARNING: -[<AVCaptureConnection: 0x19ea7290> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-11-11 09:18:45.185 CVNetVideo[344:92504] video init finish: 480x360, 25fps, fmt:100, ret:0
2014-11-11 09:18:45.194 CVNetVideo[344:92504] video init finish:480x360, YUV420, fps:25
[libx264 @ 0x21e9610] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x21e9610] profile High, level 2.1
2014-11-11 09:18:45.399 CVNetVideo[344:92834] video codec init:codec:1, 15fps, 480x360, bitrate:90kbps, quality:3, preset:3, gop:30, handle:3
|
|