AnyChat技术支持论坛

标题: iOS AnyChat 视频聊天只有画面 没有声音 ,怎么处理?? [打印本页]

作者: Elisa_    时间: 2016-9-3 15:42
标题: iOS AnyChat 视频聊天只有画面 没有声音 ,怎么处理??
xmlns="urn:xmpp:receipts" id="20160903153833_5401697"/></message>
2016-09-03 15:38:33.950 DoctorYL[283:15957] Message        OnVideoCallEvent(EventType:1, UserId:2159, ErrorCode:0, dwFlags:0x0, dwParam:0
2016-09-03 15:38:33.959 DoctorYL[283:15563] Invoke        VideoCallControl(EventType:2, UserId:2159, ErrorCode:0, dwFlags:0, dwParam:0, UserStrnull))=0
2016-09-03 15:38:34.042 DoctorYL[283:15957] Message        OnVideoCallEvent(EventType:3, UserId:2159, ErrorCode:0, dwFlags:0x0, dwParam:1
2016-09-03 15:38:34.048 DoctorYL[283:15563] Invoke        EnterRoom(roomid=1)
2016-09-03 15:38:34.210 DoctorYL[283:15957] Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
2016-09-03 15:38:34.651 DoctorYL[283:15957] Init iOS audio finish(1, 16000, 16), capture size:640
2016-09-03 15:38:34.654 DoctorYL[283:15957] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2016-09-03 15:38:34.660 DoctorYL[283:15957] Message        OnReceiveOnlineUser(count=1,roomid=1)
2016-09-03 15:38:34.667 DoctorYL[283:15563] Invoke        SelectVideoCapture(2-Front Facing Camera)
2016-09-03 15:38:34.668 DoctorYL[283:15563] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2016-09-03 15:38:34.670 DoctorYL[283:15563] Invoke        SetVideoPos(dwUserId:-1, hWnd:0x305b4810, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-09-03 15:38:34.672 DoctorYL[283:15962] Default Audio Capture Driver()
2016-09-03 15:38:34.676 DoctorYL[283:15563] Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-09-03 15:38:34.681 DoctorYL[283:15962] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2016-09-03 15:38:34.684 DoctorYL[283:15957] Message        OnUserEnterRoom(userid=2159,nickname=kf301,siteindex=1)
2016-09-03 15:38:34.688 DoctorYL[283:15563] Invoke        UserSpeakControl(userid=2159,bOpen=1)
2016-09-03 15:38:34.690 DoctorYL[283:15962] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2016-09-03 15:38:34.692 DoctorYL[283:15563] Invoke        SetVideoPos(dwUserId:2159, hWnd:0x305b7c90, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-09-03 15:38:34.694 DoctorYL[283:15563] Invoke        UserCameraControl(userid=2159, bOpen=1, stream=0)
2016-09-03 15:38:34.698 DoctorYL[283:15563] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2016-09-03 15:38:34.710 DoctorYL[283:15563] Invoke        SelectVideoCapture(2-Front Facing Camera)
2016-09-03 15:38:34.714 DoctorYL[283:15563] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2016-09-03 15:38:34.719 DoctorYL[283:15563] Invoke        SetVideoPos(dwUserId:-1, hWnd:0x305b4810, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-09-03 15:38:34.724 DoctorYL[283:15563] Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-09-03 15:38:34.728 DoctorYL[283:15563] Invoke        UserSpeakControl(userid=2159,bOpen=1)
2016-09-03 15:38:34.730 DoctorYL[283:15563] Invoke        SetVideoPos(dwUserId:2159, hWnd:0x305b7c90, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-09-03 15:38:34.732 DoctorYL[283:15563] Invoke        UserCameraControl(userid=2159, bOpen=1, stream=0)
Info    | 2016-09-03 15:38:34 [AnyChatManager] LineNum:123 <OnAnyChatFriendStatus::> | Mess:
2160-----------1

2016-09-03 15:38:34.751 DoctorYL[283:16016] Audio FX Status: VAD:1, NS:1, AGC:0, AEC:0
2016-09-03 15:38:34.798 DoctorYL[283:15962] WARNING: -[<AVCaptureConnection: 0x2ef43480> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-09-03 15:38:34.798 DoctorYL[283:15962] WARNING: -[<AVCaptureConnection: 0x2ef43480> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-09-03 15:38:35.084 DoctorYL[283:15962] video init finish: 640x480, 25fps, fmt:100, ret:0
[libx264 @ 0x12f835010] using cpu capabilities: none!
[libx264 @ 0x12f835010] profile High, level 2.2
2016-09-03 15:38:35.103 DoctorYL[283:15962] video init finish:640x480, YUV420, fps:25, codecid:1
2016-09-03 15:38:35.717 DoctorYL[283:15957] On Remote UserSpeakControl(dwUserId:2159, bOpen:1)
2016-09-03 15:38:35.720 DoctorYL[283:15957] On Remote UserCameraControl(dwUserId:2159, bOpen:1)
2016-09-03 15:38:35.728 DoctorYL[283:16025] userid(2159) audio decode, codec:11, 1 channel, 16000Hz
[libx264 @ 0x12f957810] using cpu capabilities: none!
[libx264 @ 0x12f957810] profile High, level 2.2
2016-09-03 15:38:35.783 DoctorYL[283:15842] video codec init:codec:1, 8fps, 640x480, bitrate:400kbps, quality:3, preset:3, gop:30, handle:4
2016-09-03 15:38:36.115 DoctorYL[283:16026] userid(2159) video decode, codec:1, 640x480, delay:11ms
2016-09-03 15:38:38.100 DoctorYL[283:15563] Invoke        SelectVideoCapture(1-Back Facing Camera)
[libx264 @ 0x12f957810] frame I:9     Avg QP:17.01  size:  8850
[libx264 @ 0x12f957810] frame P:10    Avg QP:17.69  size:  4952
[libx264 @ 0x12f957810] mb I  I16..4: 49.3% 48.5%  2.2%
[libx264 @ 0x12f957810] mb P  I16..4: 39.9% 25.9%  0.0%  P16..4: 18.3%  2.9%  0.8%  0.0%  0.0%    skip:12.2%
[libx264 @ 0x12f957810] 8x8 transform intra:44.7% inter:39.3%
[libx264 @ 0x12f957810] coded y,uvDC,uvAC intra: 70.7% 20.5% 0.1% inter: 14.1% 19.7% 0.0%
[libx264 @ 0x12f957810] i16 v,h,dc,p: 25% 18% 48%  9%
[libx264 @ 0x12f957810] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9%  7% 66%  2%  4%  3%  3%  2%  3%
[libx264 @ 0x12f957810] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 26% 31%  2%  7%  2% 10%  2%  7%
[libx264 @ 0x12f957810] i8c dc,h,v,p: 79% 10% 11%  0%
[libx264 @ 0x12f957810] Weighted P-Frames: Y:40.0% UV:0.0%
[libx264 @ 0x12f957810] kb/s:435.13
2016-09-03 15:38:38.277 DoctorYL[283:15962] WARNING: -[<AVCaptureConnection: 0x305ba400> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-09-03 15:38:38.277 DoctorYL[283:15962] WARNING: -[<AVCaptureConnection: 0x305ba400> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-09-03 15:38:38.419 DoctorYL[283:15962] video init finish: 640x480, 25fps, fmt:100, ret:0
[libx264 @ 0x12f835010] using cpu capabilities: none!
[libx264 @ 0x12f835010] profile High, level 2.2
2016-09-03 15:38:38.438 DoctorYL[283:15962] video init finish:640x480, YUV420, fps:25, codecid:1
[libx264 @ 0x12f9b9810] using cpu capabilities: none!
[libx264 @ 0x12f9b9810] profile High, level 2.2
2016-09-03 15:38:38.465 DoctorYL[283:15763] video codec init:codec:1, 8fps, 640x480, bitrate:400kbps, quality:3, preset:3, gop:30, handle:8
Info    | 2016-09-03 15:38:47 [AnyChatManager] LineNum:123 <OnAnyChatFriendStatus::> | Mess:
作者: yanjun    时间: 2016-9-4 12:54
你的app 里面 在调用anychat sdk 之前 有没有其他部分的代码会占用音频设备的操作,或者能不能提供一下你的联系方式,我们好获取更多信息,单单凭这个控制台的输出消息,我们比较难定位问题具体原因。
作者: Elisa_    时间: 2016-9-6 18:31
那我再定位一下问题




欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3