AnyChat技术支持论坛

标题: 视频无法即时联通,需要切换界面之后才响应!附日志文件 [打印本页]

作者: zpinks    时间: 2015-10-24 18:46
标题: 视频无法即时联通,需要切换界面之后才响应!附日志文件
视频联通,双方可见本地视频。对方视频无法显示。接收方按home键切回桌面之后,再切回视频界面。视频双方才可见远程视频
附日志文件:
[2015-10-24 18:25:46(283)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-10-24 18:25:46(283)]        Load libanychatcore.so success!(V5.3 Build Time:Aug 10 2015 05:31:49)
[2015-10-24 18:25:46(284)]        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
[2015-10-24 18:25:46(338)]        Load libmediautil_v7.so success!(V5.3 Build Time:Aug 10 2015 05:32:58)
[2015-10-24 18:25:46(363)]        Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42)
[2015-10-24 18:25:46(374)]        Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44)
[2015-10-24 18:25:46(380)]        JAZZ(HUAWEI) hi3630  4.4.2
[2015-10-24 18:25:46(404)]        Invoke        Connect(www.myhkdoc.com,8906)=0
[2015-10-24 18:25:46(421)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 18:25:46(421)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 18:25:46(498)]        CheckClientSocketLink         Connect(ip=120.24.239.49,port=8906)
[2015-10-24 18:25:46(646)]        APPLOG        Camera Preview size: 176 x 144
[2015-10-24 18:25:46(647)]        APPLOG        Camera Preview size: 352 x 288
[2015-10-24 18:25:46(647)]        APPLOG        Camera Preview size: 320 x 240
[2015-10-24 18:25:46(648)]        APPLOG        Camera Preview size: 640 x 480
[2015-10-24 18:25:46(648)]        APPLOG        Camera Preview size: 720 x 544
[2015-10-24 18:25:46(649)]        APPLOG        Camera Preview size: 960 x 544
[2015-10-24 18:25:46(649)]        APPLOG        Camera Preview size: 960 x 720
[2015-10-24 18:25:46(650)]        APPLOG        Camera Preview size: 720 x 720
[2015-10-24 18:25:46(650)]        APPLOG        Camera Preview size: 1280 x 720
[2015-10-24 18:25:46(650)]        APPLOG        Camera Preview size: 1440 x 1080
[2015-10-24 18:25:46(651)]        APPLOG        Camera Preview size: 1920 x 1080
[2015-10-24 18:25:46(651)]        APPLOG        Camera FrameRate: 1000 , 35000
[2015-10-24 18:25:46(671)]        Server version: V5.3(Build Time:2015-08-10 12:21:30, Server OS:Windows)
[2015-10-24 18:25:46(725)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:25:46(726)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 35fps, flags:0)
[2015-10-24 18:25:46(726)]        video init finish:320x240, NV21, fps:35, codecid:1
[2015-10-24 18:25:46(804)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-10-24 18:25:46(857)]        Invoke        LoginServer(username=13751082562)
[2015-10-24 18:25:47(067)]        Message        OnLoginSystem(userid=-265,errorcode=0,username=13751082562), msg deliver worked(0)
[2015-10-24 18:25:47(072)]        Server running time: 61 days, 20 hours, 11 minutes, license mode:0
[2015-10-24 18:25:47(073)]        Invoke        EnterRoom(roomid=14)
[2015-10-24 18:25:47(184)]        Connection to streaming media server successfully!(udp delay:57ms)
[2015-10-24 18:25:47(346)]        Message        OnEnterRoom(roomid=14,errorcode=0,siteindex=1)
[2015-10-24 18:25:47(347)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-10-24 18:25:47(347)]        Message        OnReceiveOnlineUser(count=2,roomid=14)
[2015-10-24 18:25:47(373)]        Invoke        UserCameraControl(userid=-264, bOpen=1, stream=0)
[2015-10-24 18:25:47(374)]        Invoke        UserSpeakControl(userid=-264,bOpen=1)
[2015-10-24 18:25:47(419)]        On Remote UserCameraControl(dwUserId:-264, bOpen:1)
[2015-10-24 18:25:47(501)]        On Remote UserSpeakControl(dwUserId:-264, bOpen:1)
[2015-10-24 18:25:48(427)]        Message        OnP2PConnectState(userid=-264, state=2)
[2015-10-24 18:25:48(616)]        Message        OnP2PConnectState(userid=-264, state=3)
[2015-10-24 18:26:07(147)]        On Remote UserCameraControl(dwUserId:-264, bOpen:0)
[2015-10-24 18:26:07(241)]        On Remote UserSpeakControl(dwUserId:-264, bOpen:0)
[2015-10-24 18:26:07(628)]        Invoke        UserCameraControl(userid=-264, bOpen=0, stream=0)
[2015-10-24 18:26:07(628)]        Invoke        UserSpeakControl(userid=-264,bOpen=0)
[2015-10-24 18:26:07(629)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:26:07(633)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:26:07(649)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 18:26:10(270)]        Invoke        UserCameraControl(userid=-264, bOpen=1, stream=0)
[2015-10-24 18:26:10(270)]        Invoke        UserSpeakControl(userid=-264,bOpen=1)
[2015-10-24 18:26:10(271)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 18:26:10(271)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 18:26:10(454)]        APPLOG        Camera Preview size: 176 x 144
[2015-10-24 18:26:10(455)]        APPLOG        Camera Preview size: 352 x 288
[2015-10-24 18:26:10(455)]        APPLOG        Camera Preview size: 320 x 240
[2015-10-24 18:26:10(456)]        APPLOG        Camera FrameRate: 1000 , 35000
[2015-10-24 18:26:10(529)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:26:10(532)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 35fps, flags:0)
[2015-10-24 18:26:10(532)]        video init finish:320x240, NV21, fps:35, codecid:1
[2015-10-24 18:26:10(575)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:26:10(577)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 18:26:10(578)]        video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 18:26:10(607)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2015-10-24 18:26:10(608)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-10-24 18:26:10(614)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-10-24 18:26:10(702)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-10-24 18:26:10(734)]        video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
[2015-10-24 18:26:13(642)]        On Remote UserCameraControl(dwUserId:-264, bOpen:1)
[2015-10-24 18:26:13(778)]        On Remote UserSpeakControl(dwUserId:-264, bOpen:1)
[2015-10-24 18:26:15(446)]        userid(-264) video decode, codec:1, 320x240, delay:11ms
[2015-10-24 18:26:16(768)]        userid(-264) audio decode, codec:11, 1 channel, 16000Hz
[2015-10-24 18:26:39(460)]        On Remote UserCameraControl(dwUserId:-264, bOpen:0)
[2015-10-24 18:26:39(589)]        socket error, disconnected by peer!, bTcp(1) - userid(-264)
[2015-10-24 18:26:39(589)]        OnSocketClose, index(3)-errorcode(0-11), flags:0x81, bTcp(1),userid(-264), list:0

[2015-10-24 18:26:39(598)]        Message        OnP2PConnectState(userid=-264, state=2)
[2015-10-24 18:26:39(598)]        On Remote UserSpeakControl(dwUserId:-264, bOpen:0)
[2015-10-24 18:26:39(607)]        Message        OnUserLeaveRoom(userid=-264,siteindex=0)
[2015-10-24 18:26:39(637)]        Invoke        UserCameraControl(userid=-264, bOpen=0, stream=0)
[2015-10-24 18:26:39(638)]        Invoke        UserSpeakControl(userid=-264,bOpen=0)
[2015-10-24 18:26:40(761)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:26:42(101)]        Invoke        UserCameraControl(userid=0, bOpen=0, stream=0)
[2015-10-24 18:26:42(102)]        Invoke        UserSpeakControl(userid=0,bOpen=0)
[2015-10-24 18:26:42(102)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:26:42(103)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:26:42(209)]        Invoke        LeaveRoom(roomid=-1)        Elapse:105 ms
[2015-10-24 18:26:42(240)]        Invoke        LogoutServer(userid=-265)        Elapse:30 ms
[2015-10-24 18:26:42(254)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 18:26:42(255)]        Invoke        UserCameraControl(userid=0, bOpen=0, stream=0)
[2015-10-24 18:26:42(256)]        Invoke        UserSpeakControl(userid=0,bOpen=0)
[2015-10-24 18:26:42(256)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:26:42(256)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:27:15(233)]        Invoke        Connect(www.myhkdoc.com,8906)=0
[2015-10-24 18:27:15(237)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 18:27:15(237)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 18:27:15(319)]        CheckClientSocketLink         Connect(ip=120.24.239.49,port=8906)
[2015-10-24 18:27:15(430)]        APPLOG        Camera Preview size: 176 x 144
[2015-10-24 18:27:15(430)]        APPLOG        Camera Preview size: 352 x 288
[2015-10-24 18:27:15(431)]        APPLOG        Camera Preview size: 320 x 240
[2015-10-24 18:27:15(432)]        APPLOG        Camera FrameRate: 1000 , 35000
[2015-10-24 18:27:15(502)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:27:15(502)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 35fps, flags:0)
[2015-10-24 18:27:15(502)]        video init finish:320x240, NV21, fps:35, codecid:1
[2015-10-24 18:27:15(877)]        Server version: V5.3(Build Time:2015-08-10 12:21:30, Server OS:Windows)
[2015-10-24 18:27:16(011)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-10-24 18:27:16(019)]        Invoke        LoginServer(username=13751082562)
[2015-10-24 18:27:16(388)]        Message        OnLoginSystem(userid=-266,errorcode=0,username=13751082562), msg deliver worked(0)
[2015-10-24 18:27:16(436)]        Load libmediautil_v7.so success!(V5.3 Build Time:Aug 10 2015 05:32:58)
[2015-10-24 18:27:16(461)]        Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42)
[2015-10-24 18:27:16(475)]        Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44)
[2015-10-24 18:27:16(477)]        Server running time: 61 days, 20 hours, 12 minutes, license mode:0
[2015-10-24 18:27:16(483)]        Invoke        EnterRoom(roomid=14)
[2015-10-24 18:27:16(599)]        Connection to streaming media server successfully!(udp delay:61ms)
[2015-10-24 18:27:16(773)]        Message        OnEnterRoom(roomid=14,errorcode=0,siteindex=0)
[2015-10-24 18:27:16(774)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-10-24 18:27:16(774)]        Message        OnReceiveOnlineUser(count=1,roomid=14)
[2015-10-24 18:27:22(568)]        Message        OnUserEnterRoom(userid=-267,nickname=1,siteindex=1)
[2015-10-24 18:27:22(571)]        Invoke        UserCameraControl(userid=-267, bOpen=1, stream=0)
[2015-10-24 18:27:22(572)]        Invoke        UserSpeakControl(userid=-267,bOpen=1)
[2015-10-24 18:27:22(579)]        On Remote UserCameraControl(dwUserId:-267, bOpen:1)
[2015-10-24 18:27:22(579)]        On Remote UserSpeakControl(dwUserId:-267, bOpen:1)
[2015-10-24 18:27:22(773)]        Message        OnP2PConnectState(userid=-267, state=2)
[2015-10-24 18:27:22(963)]        socket error, disconnected by peer!, bTcp(1) - userid(-1)
[2015-10-24 18:27:22(964)]        OnSocketClose, index(3)-errorcode(0-11), flags:0x81, bTcp(1),userid(-1), list:0

[2015-10-24 18:27:23(416)]        Message        OnP2PConnectState(userid=-267, state=3)
[2015-10-24 18:27:25(554)]        On Remote UserCameraControl(dwUserId:-267, bOpen:0)
[2015-10-24 18:27:25(706)]        On Remote UserSpeakControl(dwUserId:-267, bOpen:0)
[2015-10-24 18:27:30(414)]        On Remote UserCameraControl(dwUserId:-267, bOpen:1)
[2015-10-24 18:27:30(466)]        On Remote UserSpeakControl(dwUserId:-267, bOpen:1)
[2015-10-24 18:27:30(761)]        userid(-267) audio decode, codec:11, 1 channel, 16000Hz
[2015-10-24 18:27:31(457)]        userid(-267) video decode, codec:1, 320x240, delay:18ms
[2015-10-24 18:27:41(205)]        socket error, disconnected by peer!, bTcp(1) - userid(-267)
[2015-10-24 18:27:41(205)]        OnSocketClose, index(3)-errorcode(0-11), flags:0x81, bTcp(1),userid(-267), list:0

[2015-10-24 18:27:41(214)]        Message        OnUserLeaveRoom(userid=-267,siteindex=1)
[2015-10-24 18:27:41(233)]        Invoke        UserCameraControl(userid=-267, bOpen=0, stream=0)
[2015-10-24 18:27:41(234)]        Invoke        UserSpeakControl(userid=-267,bOpen=0)
[2015-10-24 18:27:54(711)]        Message        OnUserEnterRoom(userid=-268,nickname=1,siteindex=1)
[2015-10-24 18:27:54(722)]        Invoke        UserCameraControl(userid=-268, bOpen=1, stream=0)
[2015-10-24 18:27:54(723)]        Invoke        UserSpeakControl(userid=-268,bOpen=1)
[2015-10-24 18:27:54(845)]        On Remote UserCameraControl(dwUserId:-268, bOpen:1)
[2015-10-24 18:27:54(845)]        On Remote UserSpeakControl(dwUserId:-268, bOpen:1)
[2015-10-24 18:27:55(389)]        Message        OnP2PConnectState(userid=-268, state=2)
[2015-10-24 18:27:55(950)]        Message        OnP2PConnectState(userid=-268, state=3)
[2015-10-24 18:28:01(524)]        Invoke        UserCameraControl(userid=-268, bOpen=0, stream=0)
[2015-10-24 18:28:01(525)]        Invoke        UserSpeakControl(userid=-268,bOpen=0)
[2015-10-24 18:28:01(525)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:28:01(526)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:28:01(537)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 18:28:07(466)]        Invoke        UserCameraControl(userid=-268, bOpen=1, stream=0)
[2015-10-24 18:28:07(468)]        Invoke        UserSpeakControl(userid=-268,bOpen=1)
[2015-10-24 18:28:07(468)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 18:28:07(468)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 18:28:07(602)]        APPLOG        Camera Preview size: 176 x 144
[2015-10-24 18:28:07(603)]        APPLOG        Camera Preview size: 352 x 288
[2015-10-24 18:28:07(604)]        APPLOG        Camera Preview size: 320 x 240
[2015-10-24 18:28:07(604)]        APPLOG        Camera FrameRate: 1000 , 35000
[2015-10-24 18:28:07(669)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:28:07(669)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 35fps, flags:0)
[2015-10-24 18:28:07(670)]        video init finish:320x240, NV21, fps:35, codecid:1
[2015-10-24 18:28:07(714)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 18:28:07(721)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 18:28:07(721)]        video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 18:28:07(737)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2015-10-24 18:28:07(738)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-10-24 18:28:07(745)]        Audio codec init, handle:3, 11, 1, 16000, 16, 15850
[2015-10-24 18:28:07(801)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-10-24 18:28:07(806)]        video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:4
[2015-10-24 18:28:18(112)]        On Remote UserCameraControl(dwUserId:-268, bOpen:0)
[2015-10-24 18:28:18(214)]        On Remote UserSpeakControl(dwUserId:-268, bOpen:0)
[2015-10-24 18:28:21(924)]        On Remote UserCameraControl(dwUserId:-268, bOpen:1)
[2015-10-24 18:28:22(009)]        On Remote UserSpeakControl(dwUserId:-268, bOpen:1)
[2015-10-24 18:28:22(150)]        userid(-268) audio decode, codec:11, 1 channel, 16000Hz
[2015-10-24 18:28:22(821)]        userid(-268) video decode, codec:1, 320x240, delay:9ms
[2015-10-24 18:28:35(820)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:28:37(298)]        Invoke        UserCameraControl(userid=-268, bOpen=0, stream=0)
[2015-10-24 18:28:37(300)]        Invoke        UserSpeakControl(userid=-268,bOpen=0)
[2015-10-24 18:28:37(303)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:28:37(304)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 18:28:37(411)]        Invoke        LeaveRoom(roomid=-1)        Elapse:105 ms
[2015-10-24 18:28:37(423)]        Invoke        LogoutServer(userid=-266)        Elapse:11 ms
[2015-10-24 18:28:37(437)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 18:28:37(439)]        Invoke        UserCameraControl(userid=-268, bOpen=0, stream=0)
[2015-10-24 18:28:37(439)]        Invoke        UserSpeakControl(userid=-268,bOpen=0)
[2015-10-24 18:28:37(439)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 18:28:37(439)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)



作者: 佰锐科技-邵光清    时间: 2015-10-24 19:20
您好,连接登录、进入房间之后再打开本地音视频,可以参考一下开发指南:AnyChat开发流程指南
作者: admin    时间: 2015-10-24 20:18
您好,使用我们的标准示例程序也有同样的问题吗?




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