设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

!!!!!跪求大神教!!!!!

查看数: 4094 | 评论数: 6 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-12-29 20:26

正文摘要:

file:///Users/huangpinyuan/Desktop/屏幕快照%202015-12-29%20下午8.23.22.png 本材料 第一次通过anychat做视频聊天 可是照着helloanychat那个demo写出来 没有输出声音能够接收声音 求大神告诉本菜鸟   ...

回复

佰锐科技-邵光清 发表于 2015-12-29 22:41:17
Apply video parameter:480x360, bitrate:180kbps, quality:3, gop:30, fps:12, preset:2, codec:1

video codec init:codec:1, 12fps, 480x360, bitrate:180kbps, quality:3, preset:2, gop:30, handle:4

您好,bitrate:180kbps是错误的,应该设置为180000.
admin 发表于 2015-12-29 22:03:14
从日志分析,视频部分没有发现什么异常。

音频有一个操作异常:Audio record control:1, result:-1,您可以尝试运行helloAnyChat,音频是否工作正常?
iOS小菜菜 发表于 2015-12-29 20:39:41
而且对方也收不到我所发的视频
iOS小菜菜 发表于 2015-12-29 20:38:53
admin 发表于 2015-12-29 20:29
您好,有参考开发文档《AnyChat SDK for iOS 开发流程指南》(位于SDK包doc目录下)吗?

另外您可以将控 ...

2015-12-29 20:35:54.566 WXZHRobot[1981:1868136] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2015-12-29 20:35:54.567 WXZHRobot[1981:1868136] Load libanychatcore.so success!(V5.3 Build Time:Aug 10 2015 12:28:15)
2015-12-29 20:35:54.570 WXZHRobot[1981:1868136] Load libmediautil.so success!(V5.3 Build Time:Aug 10 2015 12:28:30)
2015-12-29 20:35:54.571 WXZHRobot[1981:1868136] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 12:28:27)
2015-12-29 20:35:54.572 WXZHRobot[1981:1868136] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 12:28:25)
2015-12-29 20:36:20.942 WXZHRobot[1981:1868136] Invoke        Connect(demo.anychat.cn,8906)=0
2015-12-29 20:36:20.943 WXZHRobot[1981:1868136] Invoke        LoginServer(username=AnyChat)
2015-12-29 20:36:20.952 WXZHRobot[1981:1868399] CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
2015-12-29 20:36:21.111 WXZHRobot[1981:1868399] Server version: V5.3(Build Time:2015-12-14 10:38:57, Server OS:Windows)
2015-12-29 20:36:21.137 WXZHRobot[1981:1868399] Message        OnConnect(bSuccess:1, errorcode=0)
2015-12-29 20:36:21.590 WXZHRobot[1981:1868399] Message        OnLoginSystem(userid=-32242,errorcode=0,username=AnyChat), msg deliver worked(0)
2015-12-29 20:36:21.592 WXZHRobot[1981:1868399] Load libmediautil.so success!(V5.3 Build Time:Aug 10 2015 12:28:30)
2015-12-29 20:36:21.593 WXZHRobot[1981:1868399] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 12:28:27)
2015-12-29 20:36:21.594 WXZHRobot[1981:1868399] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 12:28:25)
2015-12-29 20:36:21.596 WXZHRobot[1981:1868399] Server running time: 15 days, 9 hours, 46 minutes, license mode:1
2015-12-29 20:36:21.617 WXZHRobot[1981:1868136] Invoke        EnterRoom(roomid=10)
2015-12-29 20:36:21.752 WXZHRobot[1981:1868399] Connection to streaming media server successfully!(udp delay:77ms)
2015-12-29 20:36:22.765 WXZHRobot[1981:1868399] Message        OnEnterRoom(roomid=10,errorcode=0,siteindex=1)
2015-12-29 20:36:23.007 WXZHRobot[1981:1868399] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2015-12-29 20:36:23.009 WXZHRobot[1981:1868399] Message        OnReceiveOnlineUser(count=2,roomid=10)
2015-12-29 20:36:23.457 WXZHRobot[1981:1868399] Message        OnP2PConnectState(userid=-32241, state=2)
2015-12-29 20:36:23.954 WXZHRobot[1981:1868399] Message        OnP2PConnectState(userid=-32241, state=3)
2015-12-29 20:36:26.699 WXZHRobot[1981:1868136] Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
2015-12-29 20:36:26.702 WXZHRobot[1981:1868136] Apply video parameter:480x360, bitrate:180kbps, quality:3, gop:30, fps:12, preset:2, codec:1
2015-12-29 20:36:26.750 WXZHRobot[1981:1868136] Invoke        UserSpeakControl(userid=-1,bOpen=1)
2015-12-29 20:36:26.751 WXZHRobot[1981:1868136] Audio record control:1, result:-1
2015-12-29 20:36:26.753 WXZHRobot[1981:1868136] Invoke        SetVideoPos(dwUserId:-1, hWnd:0xbc5340, l:0, t:0, r:0, b:0)
2015-12-29 20:36:26.753 WXZHRobot[1981:1868136] Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
2015-12-29 20:36:26.754 WXZHRobot[1981:1868136] Invoke        UserSpeakControl(userid=-32241,bOpen=1)
2015-12-29 20:36:26.755 WXZHRobot[1981:1868136] Invoke        SetVideoPos(dwUserId:-32241, hWnd:0xa0157a0, l:0, t:0, r:0, b:0)
2015-12-29 20:36:26.755 WXZHRobot[1981:1868136] Invoke        UserCameraControl(userid=-32241, bOpen=1, stream=0)
2015-12-29 20:36:26.807 WXZHRobot[1981:1868404] Default Audio Capture Driver()
2015-12-29 20:36:26.808 WXZHRobot[1981:1868404] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2015-12-29 20:36:26.813 WXZHRobot[1981:1868404] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2015-12-29 20:36:26.887 WXZHRobot[1981:1868404] WARNING: -[<AVCaptureConnection: 0xbd0790> isVideoMinFrameDurationSupported] is deprecated.  Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2015-12-29 20:36:26.887 WXZHRobot[1981:1868404] WARNING: -[<AVCaptureConnection: 0xbd0790> setVideoMinFrameDuration:] is deprecated.  Please use AVCaptureDevice setActiveVideoMinFrameDuration
2015-12-29 20:36:26.926 WXZHRobot[1981:1868550] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2015-12-29 20:36:27.278 WXZHRobot[1981:1868578] userid(-32241) video decode, codec:1, 320x240, delay:17ms
2015-12-29 20:36:27.442 WXZHRobot[1981:1868404] video init finish: 480x360, 25fps, fmt:100, ret:0
2015-12-29 20:36:27.443 WXZHRobot[1981:1868404] video init finish:480x360, YUV420, fps:25, codecid:1
[libx264 @ 0x1998810] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x1998810] profile High, level 2.1
2015-12-29 20:36:27.513 WXZHRobot[1981:1868381] video codec init:codec:1, 12fps, 480x360, bitrate:180kbps, quality:3, preset:2, gop:30, handle:4
2015-12-29 20:36:28.633 WXZHRobot[1981:1868577] userid(-32241) audio decode, codec:11, 1 channel, 16000Hz
2015-12-29 20:36:46.460 WXZHRobot[1981:1868136] Invoke        UserSpeakControl(userid=-1,bOpen=0)
2015-12-29 20:36:46.472 WXZHRobot[1981:1868136] Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
2015-12-29 20:36:46.589 WXZHRobot[1981:1868136] Invoke        UserSpeakControl(userid=-32241,bOpen=0)
2015-12-29 20:36:46.592 WXZHRobot[1981:1868136] Invoke        UserCameraControl(userid=-32241, bOpen=0, stream=0)
iOS小菜菜 发表于 2015-12-29 20:38:02
admin 发表于 2015-12-29 20:29:15
您好,有参考开发文档《AnyChat SDK for iOS 开发流程指南》(位于SDK包doc目录下)吗?

另外您可以将控制台输出的日志信息帖上来,我们帮您分析一下可能的原因。

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

GMT+8, 2024-11-23 05:30 , Processed in 0.124837 second(s), 26 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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