设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

用了AnyChat视频后,AudioQueue录音和播放声音就变小了

[复制链接]

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
跳转到指定楼层
楼主
发表于 2016-11-8 22:38:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

使用了iOS  HelloAnyChat的demo   视频通话后退出视频(已经放Mic)  ,然后使用AudioQueue录音和播放声音就变得非常小,没进入视频通话前录音和播放都正常,怎么解决?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
沙发
发表于 2016-11-8 22:52:18 | 只看该作者
您好,是调用UserSpeakControl(-1, 0)来关闭Mic的吗?请将iOS客户端的log贴上来我们分析一下,谢谢。
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
板凳
 楼主| 发表于 2016-11-9 09:36:56 | 只看该作者
---------------------------AnyChat Platform Core SDK Client Log---------------------------
2016-11-09 09:21:02.679 -[625:104230] Load libanychatcore.so success!(V6.1 Build Time:Jul 27 2016 21:28:54)
2016-11-09 09:21:02.681 -[625:104230] Load libmediautil.so success!(V6.1 Build Time:Jul 27 2016 21:29:19)
2016-11-09 09:21:02.683 -[625:104230] Load libmediashow.so success!(V6.1 Build Time:Jul 27 2016 21:29:14)
2016-11-09 09:21:02.686 -[625:104230] Load libmediacore.so success!(V6.1 Build Time:Jul 27 2016 21:29:12)


[16:50:32] -[SocketTool parseSocketData:] [第430行] VIDEO
2016-11-09 09:28:20.300 -[633:106186] Start network engine(IPv4 mode)...
2016-11-09 09:28:20.302 -[633:106186] Invoke        Connect(120.25.125.217,8906)=0
2016-11-09 09:28:20.302 -[633:106186] Invoke        Login(username:860311000012345678905)=0

[09:20:40] -[VideoViewController viewDidLoad] [第73行] 登录成功
2016-11-09 09:28:20.398 -[633:106272] Create anychatdnsserver connect:120.25.125.217(8906)
2016-11-09 09:28:20.472 -[633:106272] On pre-connection result, errorcode:0, anychatcoreserver, 120.25.125.217(8906, tcp:1)
2016-11-09 09:28:20.508 -[633:106272] CheckClientSocketLink         Connect(ip=120.25.125.217,port=8906)
2016-11-09 09:28:20.566 -[633:106272] Server version: V6.0(Build Time:2016-02-28 17:55:44, Linux server)
2016-11-09 09:28:20.570 -[633:106272] Message        OnConnect(bSuccess:1, errorcode=0)

[09:20:40] -[VideoViewController OnAnyChatConnect:] [第140行] AnyChat连接服务器成功
2016-11-09 09:28:20.575 -[633:106186] Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
2016-11-09 09:28:20.576 -[633:106186] Apply video parameter:640x480, bitrate:180kbps, quality:3, gop:0, fps:20, preset:2, codec:0
2016-11-09 09:28:20.651 -[633:106272] Message        OnLoginSystem(userid=-1092,errorcode=0,username=860311000012345678905), msg deliver worked(0)
2016-11-09 09:28:20.655 -[633:106272] Load libmediautil.so success!(V6.1 Build Time:Jul 27 2016 21:29:19)
2016-11-09 09:28:20.657 -[633:106272] Load libmediashow.so success!(V6.1 Build Time:Jul 27 2016 21:29:14)
2016-11-09 09:28:20.659 -[633:106272] Load libmediacore.so success!(V6.1 Build Time:Jul 27 2016 21:29:12)
2016-11-09 09:28:20.661 -[633:106272] Server running time: 42 days, 15 hours, 36 minutes, license mode:0
2016-11-09 09:28:20.668 -[633:106186] Invoke        EnterRoom(roomid=9999)
2016-11-09 09:28:20.688 -[633:106272] Connection to streaming media server successfully!(udp delay:12ms)
2016-11-09 09:28:20.704 -[633:106272] Message        OnEnterRoom(roomid=9999,errorcode=0,siteindex=0)
2016-11-09 09:28:21.164 -[633:106272] Init iOS audio finish(1, 16000, 16), capture size:640
2016-11-09 09:28:21.165 -[633:106272] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2016-11-09 09:28:21.166 -[633:106272] Message        OnReceiveOnlineUser(count=1,roomid=9999)

[09:20:40] -[VideoViewController OnAnyChatEnterRoom::] [第170行] 9999

[09:20:40] -[VideoViewController OnAnyChatOnlineUser::] [第183行] 1,9999
2016-11-09 09:28:21.185 -[633:106272] Message        OnUserEnterRoom(userid=-1093,nickname=860311000012345678903,siteindex=1)
2016-11-09 09:28:21.187 -[633:106272] On Remote UserCameraControl(dwUserId:-1093, bOpen:1)
2016-11-09 09:28:21.189 -[633:106272] On Remote UserSpeakControl(dwUserId:-1093, bOpen:1)

[09:20:40] -[VideoViewController OnAnyChatUserEnterRoom:] [第197行] -1093

[09:20:40] -[VideoViewController getUserID:] [第123行] -1093
2016-11-09 09:28:21.196 -[633:106186] Invoke        SelectVideoCapture(2-Front Facing Camera)
2016-11-09 09:28:21.197 -[633:106186] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2016-11-09 09:28:21.198 -[633:106186] Invoke        SetVideoPos(dwUserId:-1, hWnd:0xa5139a0, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-11-09 09:28:21.199 -[633:106186] Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-11-09 09:28:21.200 -[633:106186] Invoke        UserSpeakControl(userid=-1093,bOpen=1)
2016-11-09 09:28:21.200 -[633:106186] Invoke        SetVideoPos(dwUserId:-1093, hWnd:0x31dbfd0, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-11-09 09:28:21.201 -[633:106186] Invoke        UserCameraControl(userid=-1093, bOpen=1, stream=0)
2016-11-09 09:28:21.202 -[633:106277] Default Audio Capture Driver()
2016-11-09 09:28:21.203 -[633:106277] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2016-11-09 09:28:21.207 -[633:106277] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2016-11-09 09:28:21.240 -[633:106402] Audio FX Status: VAD:1, NS:1, AGC:0, AEC:0
2016-11-09 09:28:21.329 -[633:106272] recv stream pack:src(-1093),tar(-1),from(-1),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 09:28:21.335 -[633:106408] userid(-1093) audio decode, codec:11, 1 channel, 16000Hz
2016-11-09 09:28:21.336 -[633:106408] OnReceiveAudioData(dwUserId:-1093, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:120785)=0
2016-11-09 09:28:21.342 -[633:106277] WARNING: -[<AVCaptureConnection: 0x31d4690> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-11-09 09:28:21.343 -[633:106277] WARNING: -[<AVCaptureConnection: 0x31d4690> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-11-09 09:28:21.370 -[633:106272] recv stream pack:src(-1093),tar(-1),from(-1),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 09:28:21.405 -[633:106272] recv stream pack:src(-1093),tar(-1),from(-1),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 09:28:21.408 -[633:106408] OnReceiveAudioData(dwUserId:-1093, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:120825)=0
2016-11-09 09:28:21.455 -[633:106272] recv stream pack:src(-1093),tar(-1),from(-1),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 09:28:21.457 -[633:106272] Message        OnP2PConnectState(userid=-1093, state=2)
2016-11-09 09:28:21.458 -[633:106408] OnReceiveAudioData(dwUserId:-1093, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:120865)=0
2016-11-09 09:28:21.481 -[633:106272] recv stream pack:src(-1093),tar(-1),from(-1093),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 09:28:21.483 -[633:106408] OnReceiveAudioData(dwUserId:-1093, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:120905)=0
2016-11-09 09:28:21.524 -[633:106408] OnReceiveAudioData(dwUserId:-1093, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:120945)=0
2016-11-09 09:28:21.891 -[633:106277] video init finish: 640x480, 25fps, fmt:100, ret:0
[libx264 @ 0x2a02010] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x2a02010] profile High, level 2.2
2016-11-09 09:28:21.956 -[633:106277] video init finish:640x480, YUV420, fps:25, codecid:1
[libx264 @ 0x2149810] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x2149810] profile High, level 3.0
2016-11-09 09:28:22.024 -[633:106249] video codec init:codec:1, 20fps, 640x480, bitrate:180kbps, quality:3, preset:2, gop:0, handle:4
2016-11-09 09:28:22.047 -[633:106409] userid(-1093) video decode, codec:1, 640x480, delay:20ms
2016-11-09 09:28:34.130 -[633:106408] userid(-1093) audio decode, codec:11, 1 channel, 16000Hz
[libx264 @ 0x2149810] frame I:4     Avg QP:28.27  size:  6750
[libx264 @ 0x2149810] frame P:237   Avg QP:30.01  size:   887
[libx264 @ 0x2149810] mb I  I16..4: 36.7% 56.2%  7.1%
[libx264 @ 0x2149810] mb P  I16..4:  4.0%  2.2%  0.0%  P16..4: 23.2%  0.0%  0.0%  0.0%  0.0%    skip:70.6%
[libx264 @ 0x2149810] 8x8 transform intra:39.9% inter:46.6%
[libx264 @ 0x2149810] coded y,uvDC,uvAC intra: 16.0% 14.8% 1.0% inter: 1.9% 2.7% 0.0%
[libx264 @ 0x2149810] i16 v,h,dc,p: 50% 24% 16% 11%
[libx264 @ 0x2149810] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 13% 38%  6%  7%  5%  5%  5%  7%
[libx264 @ 0x2149810] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 21% 26%  5%  7%  4%  6%  4%  7%
[libx264 @ 0x2149810] i8c dc,h,v,p: 68% 14% 16%  3%
[libx264 @ 0x2149810] Weighted P-Frames: Y:13.9% UV:2.5%
[libx264 @ 0x2149810] kb/s:157.54
2016-11-09 09:28:34.571 -[633:106186] Invoke        LeaveRoom(roomid=-1)        Elapse:543 ms
2016-11-09 09:28:34.696 -[633:106186] Invoke        LogoutServer(userid=-1092)        Elapse:123 ms
2016-11-09 09:28:34.700 -[633:106186] Invoke        UserSpeakControl(userid=-1,bOpen=0)
2016-11-09 09:28:34.701 -[633:106186] Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
2016-11-09 09:28:34.702 -[633:106186] Invoke        UserSpeakControl(userid=-1093,bOpen=0)
2016-11-09 09:28:34.702 -[633:106186] Invoke        UserCameraControl(userid=-1093, bOpen=0, stream=0)
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
地板
 楼主| 发表于 2016-11-9 10:26:28 | 只看该作者
本帖最后由 凹凸man 于 2016-11-9 10:28 编辑
admin 发表于 2016-11-8 22:52
您好,是调用UserSpeakControl(-1, 0)来关闭Mic的吗?请将iOS客户端的log贴上来我们分析一下,谢谢。

是使用UserSpeakControl关闭Mic,而且退出视频后(界面也被释放了), 使用AudioServicesPlaySystemSound播放提示音也有问题,请问有解决办法吗?
回复 支持 反对

使用道具 举报

5#
发表于 2016-11-9 10:29:48 | 只看该作者
凹凸man 发表于 2016-11-9 10:26
关闭Mic后 使用AudioServicesPlaySystemSound播放提示音也有问题,请问有解决办法吗?

您好,请在LeaveRoom之前调用UserSpeakControl、UserCameraControl来关闭本地和对方的音视频。
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
6#
 楼主| 发表于 2016-11-9 11:06:14 | 只看该作者
佰锐科技-邵光清 发表于 2016-11-9 10:29
您好,请在LeaveRoom之前调用UserSpeakControl、UserCameraControl来关闭本地和对方的音视频。

换了位置也不行啊,退出视频后,audioQueue录音和播放声音还是很小


[16:50:32] -[SocketTool parseSocketData:] [第430行] VIDEO
2016-11-09 10:57:55.709 -[700:124959] Start network engine(IPv4 mode)...
2016-11-09 10:57:55.710 -[700:124959] Invoke        Connect(120.25.125.217,8906)=0
2016-11-09 10:57:55.711 -[700:124959] Invoke        Login(username:860311000012345678901)=0

[10:55:34] -[VideoViewController viewDidLoad] [第75行] 登录成功
2016-11-09 10:57:55.777 -[700:125045] Create anychatdnsserver connect:120.25.125.217(8906)
2016-11-09 10:57:55.839 -[700:125045] On pre-connection result, errorcode:0, anychatcoreserver, 120.25.125.217(8906, tcp:1)
2016-11-09 10:57:55.889 -[700:125045] CheckClientSocketLink         Connect(ip=120.25.125.217,port=8906)
2016-11-09 10:57:55.939 -[700:125045] Server version: V6.0(Build Time:2016-02-28 17:55:44, Linux server)
2016-11-09 10:57:55.944 -[700:125045] Message        OnConnect(bSuccess:1, errorcode=0)

[10:55:34] -[VideoViewController OnAnyChatConnect:] [第142行] AnyChat连接服务器成功
2016-11-09 10:57:55.951 -[700:124959] Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
2016-11-09 10:57:55.951 -[700:124959] Apply video parameter:640x480, bitrate:180kbps, quality:3, gop:0, fps:20, preset:2, codec:0
2016-11-09 10:57:56.018 -[700:125045] Message        OnLoginSystem(userid=-1108,errorcode=0,username=860311000012345678901), msg deliver worked(0)
2016-11-09 10:57:56.021 -[700:125045] Load libmediautil.so success!(V6.1 Build Time:Jul 27 2016 21:29:19)
2016-11-09 10:57:56.024 -[700:125045] Load libmediashow.so success!(V6.1 Build Time:Jul 27 2016 21:29:14)
2016-11-09 10:57:56.026 -[700:125045] Load libmediacore.so success!(V6.1 Build Time:Jul 27 2016 21:29:12)
2016-11-09 10:57:56.029 -[700:125045] Server running time: 42 days, 17 hours, 6 minutes, license mode:0
2016-11-09 10:57:56.039 -[700:124959] Invoke        EnterRoom(roomid=9999)
2016-11-09 10:57:56.055 -[700:125045] Connection to streaming media server successfully!(udp delay:12ms)
2016-11-09 10:57:56.070 -[700:125045] Message        OnEnterRoom(roomid=9999,errorcode=0,siteindex=0)
2016-11-09 10:57:56.587 -[700:125045] Init iOS audio finish(1, 16000, 16), capture size:640
2016-11-09 10:57:56.590 -[700:125045] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2016-11-09 10:57:56.593 -[700:125045] Message        OnReceiveOnlineUser(count=1,roomid=9999)

[10:55:34] -[VideoViewController OnAnyChatEnterRoom::] [第172行] 9999

[10:55:34] -[VideoViewController OnAnyChatOnlineUser::] [第185行] 1,9999
2016-11-09 10:57:56.611 -[700:125045] Message        OnUserEnterRoom(userid=-1109,nickname=860311000012345678903,siteindex=1)
2016-11-09 10:57:56.613 -[700:125045] On Remote UserCameraControl(dwUserId:-1109, bOpen:1)
2016-11-09 10:57:56.615 -[700:125045] On Remote UserSpeakControl(dwUserId:-1109, bOpen:1)

[10:55:34] -[VideoViewController OnAnyChatUserEnterRoom:] [第199行] -1109

[10:55:34] -[VideoViewController getUserID:] [第125行] -1109
2016-11-09 10:57:56.624 -[700:124959] Invoke        SelectVideoCapture(2-Front Facing Camera)
2016-11-09 10:57:56.625 -[700:124959] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2016-11-09 10:57:56.626 -[700:124959] Invoke        SetVideoPos(dwUserId:-1, hWnd:0x9f7dd30, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-11-09 10:57:56.627 -[700:124959] Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-11-09 10:57:56.628 -[700:124959] Invoke        UserSpeakControl(userid=-1109,bOpen=1)
2016-11-09 10:57:56.629 -[700:124959] Invoke        SetVideoPos(dwUserId:-1109, hWnd:0x9f7bbb0, l:0, t:0, r:0, b:0, dwStreamIndex:0)
2016-11-09 10:57:56.629 -[700:125050] Default Audio Capture Driver()
2016-11-09 10:57:56.631 -[700:124959] Invoke        UserCameraControl(userid=-1109, bOpen=1, stream=0)
2016-11-09 10:57:56.631 -[700:125050] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2016-11-09 10:57:56.635 -[700:125050] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2016-11-09 10:57:56.670 -[700:125501] Audio FX Status: VAD:1, NS:1, AGC:0, AEC:0
2016-11-09 10:57:56.706 -[700:125045] Message        OnP2PConnectState(userid=-1109, state=2)
2016-11-09 10:57:56.757 -[700:125050] WARNING: -[<AVCaptureConnection: 0x51e93d0> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-11-09 10:57:56.757 -[700:125050] WARNING: -[<AVCaptureConnection: 0x51e93d0> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-11-09 10:57:56.827 -[700:125045] recv stream pack:src(-1109),tar(-1),from(-1109),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 10:57:56.838 -[700:125509] userid(-1109) audio decode, codec:11, 1 channel, 16000Hz
2016-11-09 10:57:56.840 -[700:125509] OnReceiveAudioData(dwUserId:-1109, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:5496212)=0
2016-11-09 10:57:56.842 -[700:125045] recv stream pack:src(-1109),tar(-1),from(-1109),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 10:57:56.891 -[700:125045] recv stream pack:src(-1109),tar(-1),from(-1109),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 10:57:56.892 -[700:125509] OnReceiveAudioData(dwUserId:-1109, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:5496252)=0
2016-11-09 10:57:56.928 -[700:125045] recv stream pack:src(-1109),tar(-1),from(-1109),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 10:57:56.936 -[700:125509] OnReceiveAudioData(dwUserId:-1109, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:5496292)=0
2016-11-09 10:57:56.965 -[700:125045] recv stream pack:src(-1109),tar(-1),from(-1109),flags(548),audio,subv:16,suba:32,private:0,list:0
2016-11-09 10:57:56.972 -[700:125509] OnReceiveAudioData(dwUserId:-1109, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:5496332)=0
2016-11-09 10:57:57.012 -[700:125509] OnReceiveAudioData(dwUserId:-1109, dwFlags:0x224, dwLen:87, bPlay:1, dwTimeStamp:5496372)=0
2016-11-09 10:57:57.167 -[700:125510] userid(-1109) video decode, codec:1, 640x480, delay:14ms
2016-11-09 10:57:57.307 -[700:125050] video init finish: 640x480, 25fps, fmt:100, ret:0
[libx264 @ 0x20ffc10] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x20ffc10] profile High, level 2.2
2016-11-09 10:57:57.372 -[700:125050] video init finish:640x480, YUV420, fps:25, codecid:1
[libx264 @ 0x2a1fe10] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x2a1fe10] profile High, level 3.0
2016-11-09 10:57:57.433 -[700:125466] video codec init:codec:1, 20fps, 640x480, bitrate:180kbps, quality:3, preset:2, gop:0, handle:5
2016-11-09 10:58:08.683 -[700:124959] Invoke        UserSpeakControl(userid=-1,bOpen=0)
2016-11-09 10:58:08.685 -[700:124959] Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[libx264 @ 0x2a1fe10] frame I:3     Avg QP:29.73  size:  4872
[libx264 @ 0x2a1fe10] frame P:222   Avg QP:28.59  size:   906
[libx264 @ 0x2a1fe10] mb I  I16..4: 41.3% 55.5%  3.2%
[libx264 @ 0x2a1fe10] mb P  I16..4:  3.7%  1.8%  0.0%  P16..4: 25.1%  0.0%  0.0%  0.0%  0.0%    skip:69.4%
[libx264 @ 0x2a1fe10] 8x8 transform intra:36.8% inter:48.0%
[libx264 @ 0x2a1fe10] coded y,uvDC,uvAC intra: 14.8% 17.6% 1.6% inter: 2.1% 4.2% 0.0%
[libx264 @ 0x2a1fe10] i16 v,h,dc,p: 53% 23% 15%  9%
[libx264 @ 0x2a1fe10] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 16% 37%  5%  5%  6%  4%  5%  7%
[libx264 @ 0x2a1fe10] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 34%  3%  4%  4%  5%  3%  5%
[libx264 @ 0x2a1fe10] i8c dc,h,v,p: 67% 14% 16%  3%
[libx264 @ 0x2a1fe10] Weighted P-Frames: Y:9.5% UV:0.9%
[libx264 @ 0x2a1fe10] kb/s:153.47
2016-11-09 10:58:08.782 -[700:124959] Invoke        UserSpeakControl(userid=-1109,bOpen=0)
2016-11-09 10:58:08.785 -[700:124959] Invoke        UserCameraControl(userid=-1109, bOpen=0, stream=0)
2016-11-09 10:58:09.928 -[700:124959] Invoke        LeaveRoom(roomid=-1)        Elapse:442 ms
2016-11-09 10:58:10.028 -[700:124959] Invoke        LogoutServer(userid=-1108)        Elapse:98 ms

[10:55:34] -[VideoViewController dealloc] [第57行] 注销

[16:50:32] -[SocketTool parseSocketData:] [第430行] VIDEO
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
7#
 楼主| 发表于 2016-11-9 11:20:45 | 只看该作者
佰锐科技-邵光清 发表于 2016-11-9 10:29
您好,请在LeaveRoom之前调用UserSpeakControl、UserCameraControl来关闭本地和对方的音视频。

找到问题了非常感谢
回复 支持 反对

使用道具 举报

8#
发表于 2016-11-9 12:03:08 | 只看该作者
凹凸man 发表于 2016-11-9 11:20
找到问题了非常感谢

是不是LeaveRoom,再logout就行了?
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
9#
 楼主| 发表于 2016-11-9 14:00:14 | 只看该作者
佰锐科技-邵光清 发表于 2016-11-9 12:03
是不是LeaveRoom,再logout就行了?

跟这两个没关系啊LeaveRoom,logout.   我试了UIImagePickerController录制视频也会这样,应该那个会话处理问题..录完视频后再录音声音就变得好小,但是我在录音前都会设置成
    AVAudioSession *audioSession = [AVAudioSession sharedInstance];
    [audioSession setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];
    [audioSession overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:nil];
    [audioSession setActive:YES error:nil];
回复 支持 反对

使用道具 举报

1

主题

7

帖子

33

积分

新手上路

Rank: 1

积分
33
10#
 楼主| 发表于 2016-11-10 17:13:28 | 只看该作者
admin 发表于 2016-11-8 22:52
您好,是调用UserSpeakControl(-1, 0)来关闭Mic的吗?请将iOS客户端的log贴上来我们分析一下,谢谢。

为什么视频通话后,再去录音和播放声音会变小.用UIImagePickerController录视频后再去录音也一样
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 06:10 , Processed in 0.153156 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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