设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

发起视频第一次没有视频,有声音,但是关闭页面后,第二次进去就是好的了

[复制链接]

1

主题

2

帖子

19

积分

新手上路

Rank: 1

积分
19
跳转到指定楼层
楼主
发表于 2017-10-10 16:39:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这个是怎么回事呢?demo例子没有问题,但是检查后初始化过程和demo一样
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

沙发
发表于 2017-10-10 16:46:18 | 只看该作者
麻烦发下日志瞧瞧
回复 支持 反对

使用道具 举报

1

主题

2

帖子

19

积分

新手上路

Rank: 1

积分
19
板凳
 楼主| 发表于 2017-10-10 16:49:14 | 只看该作者
第一次和第二次的日志如下
[2017-10-10 16:48:13(188)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-10-10 16:48:13(189)][I]        Load libanychatcore.so success!(V6.5 Build Time:Sep 14 2017 04:15:48)
[2017-10-10 16:48:13(189)][I]        Android OS SDK Version:26, Support ARMv7:0, Support Neon:0
[2017-10-10 16:48:13(212)][I]        Load libmediautil_v8.so success!(V6.5 Build Time:Sep 14 2017 04:17:20)
[2017-10-10 16:48:13(221)][I]        Load libmediashow.so success!(V6.5 Build Time:Sep 14 2017 04:16:33)
[2017-10-10 16:48:13(230)][I]        Load libmediacore.so success!(V6.5 Build Time:Sep 14 2017 04:16:38)
[2017-10-10 16:48:13(232)][I]        server net link reset...
[2017-10-10 16:48:13(232)][I]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2017-10-10 16:48:13(232)][I]        Start network engine(IPv4 mode)...
[2017-10-10 16:48:13(233)][I]        Invoke        Connect(ihomecn.rollupcn.com,8906)=0
[2017-10-10 16:48:13(349)][I]        Create anychatdnsserver connect:114.215.109.6(8906)
[2017-10-10 16:48:13(583)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 114.215.109.6(8906, tcp:1)
[2017-10-10 16:48:13(699)][I]        Start anychat server(114.215.109.6:8906) connect...
[2017-10-10 16:48:13(922)][I]        On connect anychat server return, errorcode: 0, appflags:0x0, svrflags:0x0
[2017-10-10 16:48:14(005)][I]        Server version: V6.0(Build Time:2016-02-25 20:46:38, Linux server)
[2017-10-10 16:48:14(109)][I]        m_ProtocolPipeLine, userid:0, local session:-254433533, peer session:0
[2017-10-10 16:48:14(110)][I]        Message        OnConnect(errorcode=0), session:A433B3A6-2D37-BE4C-AB08-4E7F2335F1E1
[2017-10-10 16:48:14(121)][I]        Invoke        Login(username:shs)=0
[2017-10-10 16:48:14(435)][I]        Message        OnLoginSystem(userid=247141, errorcode=0, username=shs)
[2017-10-10 16:48:14(436)][I]        Server running time: 25 days, 10 hours, 36 minutes, license mode:1, certlo:0x37fff, hi:0x0)
[2017-10-10 16:48:14(508)][I]        Connection to streaming media server(114.215.109.6:8907) successfully!(udp delay:35ms)
[2017-10-10 16:48:15(617)][I]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:1
[2017-10-10 16:48:15(618)][I]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-10 16:48:15(618)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-10 16:48:15(618)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2017-10-10 16:48:15(618)][I]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2017-10-10 16:48:17(083)][I]        Invoke        VideoCallControl(EventType:1, UserId:128452, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2017-10-10 16:48:17(213)][I]        Message        OnVideoCallEvent(EventType:2, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:0)
[2017-10-10 16:48:17(415)][I]        Message        OnVideoCallEvent(EventType:3, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:15)
[2017-10-10 16:48:17(419)][I]        Invoke        EnterRoom(roomid=15)
[2017-10-10 16:48:17(639)][I]        Message        OnEnterRoom(roomid=15,errorcode=0,siteindex=5)
[2017-10-10 16:48:17(639)][I]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2017-10-10 16:48:17(641)][I]        Message        OnReceiveOnlineUser(count=6,roomid=15)
[2017-10-10 16:48:17(661)][I]        Invoke        UserSpeakControl(userid=128452, bOpen=1) = 0
[2017-10-10 16:48:17(661)][I]        Invoke        UserSpeakControl(userid=247141, bOpen=1) = 0
[2017-10-10 16:48:17(661)][I]        Invoke        UserCameraControl(userid=128452, bOpen=1) = 0
[2017-10-10 16:48:17(662)][I]        Invoke        UserCameraControl(userid=247141, bOpen=1) = 0
[2017-10-10 16:48:17(743)][I]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2017-10-10 16:48:17(744)][I]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2017-10-10 16:48:17(744)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2017-10-10 16:48:17(747)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2017-10-10 16:48:17(811)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-10 16:48:18(349)][I]        On Remote UserSpeakControl(dwUserId:128452, bOpen:1, streamindex:0)
[2017-10-10 16:48:18(412)][I]        Message        OnP2PConnectState(userid=128452, state=2)
[2017-10-10 16:48:18(443)][I]        userid(128452) video decode, codec:1, 320x240, delay:13ms
[2017-10-10 16:48:18(510)][I]        userid(128452) audio decode, codec:11, 1 channel, 16000Hz
[2017-10-10 16:48:18(601)][I]        Message        OnP2PConnectState(userid=128452, state=3)
[2017-10-10 16:48:20(095)][I]        Invoke        VideoCallControl(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0, dwParam:247141, UserStr=0
[2017-10-10 16:48:20(096)][I]        Invoke        UserSpeakControl(userid=128452, bOpen=0) = 0
[2017-10-10 16:48:20(096)][I]        Invoke        UserSpeakControl(userid=247141, bOpen=0) = 0
[2017-10-10 16:48:20(097)][I]        Invoke        UserCameraControl(userid=128452, bOpen=0) = 0
[2017-10-10 16:48:20(097)][I]        Invoke        UserCameraControl(userid=247141, bOpen=0) = 0
[2017-10-10 16:48:20(097)][I]        Prepare leaveroom......
[2017-10-10 16:48:20(147)][I]        Message        OnVideoCallEvent(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:247141)
[2017-10-10 16:48:20(198)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:42
[2017-10-10 16:48:20(198)][I]        Invoke        LeaveRoom(roomid=15)=0        Elapse:100 ms
[2017-10-10 16:48:20(255)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2017-10-10 16:48:21(042)][I]        Invoke        VideoCallControl(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0, dwParam:247141, UserStr=0
[2017-10-10 16:48:21(042)][I]        Invoke        UserSpeakControl(userid=128452, bOpen=0) = 3
[2017-10-10 16:48:21(043)][I]        Invoke        UserSpeakControl(userid=247141, bOpen=0) = 3
[2017-10-10 16:48:21(043)][I]        Invoke        UserCameraControl(userid=128452, bOpen=0) = 3
[2017-10-10 16:48:21(043)][I]        Invoke        UserCameraControl(userid=247141, bOpen=0) = 3
[2017-10-10 16:48:21(043)][I]        Prepare leaveroom......
[2017-10-10 16:48:21(043)][I]        Invoke        LeaveRoom(roomid=15)=0        Elapse:0 ms
[2017-10-10 16:48:21(100)][I]        Message        OnVideoCallEvent(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:247141)
[2017-10-10 16:48:24(237)][I]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:1
[2017-10-10 16:48:24(237)][I]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2017-10-10 16:48:24(238)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-10-10 16:48:24(238)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2017-10-10 16:48:24(238)][I]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2017-10-10 16:48:25(453)][I]        Invoke        VideoCallControl(EventType:1, UserId:128452, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2017-10-10 16:48:25(610)][I]        Message        OnVideoCallEvent(EventType:2, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:0)
[2017-10-10 16:48:25(651)][I]        Message        OnVideoCallEvent(EventType:3, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:15)
[2017-10-10 16:48:25(660)][I]        Invoke        EnterRoom(roomid=15)
[2017-10-10 16:48:25(814)][I]        Message        OnEnterRoom(roomid=15,errorcode=0,siteindex=5)
[2017-10-10 16:48:25(814)][I]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2017-10-10 16:48:25(816)][I]        Message        OnReceiveOnlineUser(count=6,roomid=15)
[2017-10-10 16:48:25(831)][I]        Invoke        UserSpeakControl(userid=128452, bOpen=1) = 0
[2017-10-10 16:48:25(832)][I]        Invoke        UserSpeakControl(userid=247141, bOpen=1) = 0
[2017-10-10 16:48:25(832)][I]        Invoke        UserCameraControl(userid=128452, bOpen=1) = 0
[2017-10-10 16:48:25(832)][I]        Invoke        UserCameraControl(userid=247141, bOpen=1) = 0
[2017-10-10 16:48:25(846)][I]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2017-10-10 16:48:25(847)][I]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2017-10-10 16:48:25(847)][I]        Audio codec init, handle:4, 11, 1, 16000, 16, 15850
[2017-10-10 16:48:25(849)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2017-10-10 16:48:25(972)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-10-10 16:48:26(153)][I]        Message        OnP2PConnectState(userid=128452, state=2)
[2017-10-10 16:48:26(567)][I]        On Remote UserSpeakControl(dwUserId:128452, bOpen:1, streamindex:0)
[2017-10-10 16:48:26(588)][I]        Message        OnP2PConnectState(userid=128452, state=3)
[2017-10-10 16:48:26(750)][I]        userid(128452) video decode, codec:1, 320x240, delay:11ms
[2017-10-10 16:48:26(840)][I]        userid(128452) audio decode, codec:11, 1 channel, 16000Hz
[2017-10-10 16:48:27(779)][I]        Invoke        VideoCallControl(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0, dwParam:247141, UserStr=0
[2017-10-10 16:48:27(788)][I]        Invoke        UserSpeakControl(userid=128452, bOpen=0) = 0
[2017-10-10 16:48:27(789)][I]        Invoke        UserSpeakControl(userid=247141, bOpen=0) = 0
[2017-10-10 16:48:27(789)][I]        Invoke        UserCameraControl(userid=128452, bOpen=0) = 0
[2017-10-10 16:48:27(790)][I]        Invoke        UserCameraControl(userid=247141, bOpen=0) = 0
[2017-10-10 16:48:27(790)][I]        Prepare leaveroom......
[2017-10-10 16:48:27(849)][I]        Message        OnVideoCallEvent(EventType:4, UserId:128452, ErrorCode:0, dwFlags:0x0, dwParam:247141)
[2017-10-10 16:48:27(890)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:46
[2017-10-10 16:48:27(891)][I]        Invoke        LeaveRoom(roomid=15)=0        Elapse:101 ms
[2017-10-10 16:48:27(951)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
回复 支持 反对

使用道具 举报

地板
发表于 2017-10-10 17:56:49 | 只看该作者
服务器请升级最新版本。再重新测试下。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-5 08:18 , Processed in 0.118215 second(s), 21 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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