AnyChat技术支持论坛
标题: 我使用未授权版本服务器+android-hellodemo连接自动断开 [打印本页]
作者: nightkidfifa 时间: 2015-10-24 12:10
标题: 我使用未授权版本服务器+android-hellodemo连接自动断开
我测试了下吧,只有四分钟,android就自己断开回到登陆界面了
[2015-10-24 11:51:10(264)] Invoke Connect(,8906)=0
[2015-10-24 11:51:10(268)] Invoke LoginServer(username=Android1)
[2015-10-24 11:51:10(286)] CheckClientSocketLink Connect(ip=,port=8906)
[2015-10-24 11:51:10(318)] Server version: V5.3(Build Time:2015-08-10 12:21:30, Server OS:Windows)
[2015-10-24 11:51:10(350)] Message OnConnect(bSuccess:1, errorcode=0)
[2015-10-24 11:51:10(586)] Message OnLoginSystem(userid=-6,errorcode=0,username=Android1), msg deliver worked(0)
[2015-10-24 11:51:10(596)] Load libmediautil_v7.so success!(V5.3 Build Time:Aug 10 2015 05:32:58)
[2015-10-24 11:51:10(601)] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42)
[2015-10-24 11:51:10(608)] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44)
[2015-10-24 11:51:10(610)] Server running time: 0 days, 0 hours, 42 minutes, license mode:0
[2015-10-24 11:51:10(616)] Invoke EnterRoom(roomid=1)
[2015-10-24 11:51:10(631)] Connection to streaming media server successfully!(udp delay:10ms)
[2015-10-24 11:51:10(662)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-10-24 11:51:10(665)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-10-24 11:51:10(666)] Message OnReceiveOnlineUser(count=2,roomid=1)
[2015-10-24 11:51:10(881)] On Remote UserCameraControl(dwUserId:-5, bOpen:1)
[2015-10-24 11:51:11(085)] On Remote UserSpeakControl(dwUserId:-5, bOpen:1)
[2015-10-24 11:51:13(860)] Message OnP2PConnectState(userid=-5, state=2)
[2015-10-24 11:51:19(500)] Invoke UserCameraControl(userid=-5, bOpen=1, stream=0)
[2015-10-24 11:51:19(501)] Invoke UserSpeakControl(userid=-5,bOpen=1)
[2015-10-24 11:51:19(504)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 11:51:19(505)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 11:51:19(741)] APPLOG Camera Preview size: 640 x 480
[2015-10-24 11:51:19(742)] APPLOG Camera Preview size: 320 x 240
[2015-10-24 11:51:19(743)] APPLOG Camera FrameRate: 6000 , 30000
[2015-10-24 11:51:19(768)] userid(-5) audio decode, codec:11, 1 channel, 16000Hz
[2015-10-24 11:51:20(112)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 11:51:20(113)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 11:51:20(114)] video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 11:51:20(238)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 11:51:20(242)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 11:51:20(243)] video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 11:51:20(250)] Invoke SetInputAudioFormat(1, 16000, 16, flags:0)
[2015-10-24 11:51:20(250)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-10-24 11:51:20(251)] Audio codec init, handle:2, 11, 1, 16000, 16, 15850
[2015-10-24 11:51:20(318)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-10-24 11:51:20(462)] video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:3
[2015-10-24 11:51:20(880)] userid(-5) video decode, codec:1, 320x240, delay:14ms
[2015-10-24 11:51:31(608)] Message OnUserLeaveRoom(userid=-5,siteindex=1)
[2015-10-24 11:51:31(624)] Invoke UserCameraControl(userid=-5, bOpen=0, stream=0)
[2015-10-24 11:51:31(626)] Invoke UserSpeakControl(userid=-5,bOpen=0)
[2015-10-24 11:51:44(555)] Invoke UserCameraControl(userid=0, bOpen=0, stream=0)
[2015-10-24 11:51:44(557)] Invoke UserSpeakControl(userid=0,bOpen=0)
[2015-10-24 11:51:44(558)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 11:51:44(559)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 11:51:44(617)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 11:51:44(687)] Invoke UserCameraControl(userid=0, bOpen=0, stream=0)
[2015-10-24 11:51:44(689)] Invoke UserSpeakControl(userid=0,bOpen=0)
[2015-10-24 11:51:44(690)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 11:51:44(691)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 11:51:44(709)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 11:52:05(428)] Invoke LeaveRoom(roomid=-1) Elapse:101 ms
[2015-10-24 11:52:05(440)] Invoke LogoutServer(userid=-6) Elapse:11 ms
[2015-10-24 11:52:06(105)] Invoke Connect(,8906)=0
[2015-10-24 11:52:06(107)] Invoke LoginServer(username=Android1)
[2015-10-24 11:52:06(119)] CheckClientSocketLink Connect(ip=,port=8906)
[2015-10-24 11:52:06(151)] Server version: V5.3(Build Time:2015-08-10 12:21:30, Server OS:Windows)
[2015-10-24 11:52:06(183)] Message OnConnect(bSuccess:1, errorcode=0)
[2015-10-24 11:52:06(431)] Message OnLoginSystem(userid=-8,errorcode=0,username=Android1), msg deliver worked(0)
[2015-10-24 11:52:06(445)] Load libmediautil_v7.so success!(V5.3 Build Time:Aug 10 2015 05:32:58)
[2015-10-24 11:52:06(457)] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42)
[2015-10-24 11:52:06(465)] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44)
[2015-10-24 11:52:06(468)] Server running time: 0 days, 0 hours, 43 minutes, license mode:0
[2015-10-24 11:52:06(474)] Invoke EnterRoom(roomid=1)
[2015-10-24 11:52:06(489)] Connection to streaming media server successfully!(udp delay:10ms)
[2015-10-24 11:52:06(530)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-10-24 11:52:06(532)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-10-24 11:52:06(533)] Message OnReceiveOnlineUser(count=1,roomid=1)
[2015-10-24 11:52:08(471)] Message OnUserEnterRoom(userid=-7,nickname=ccenter,siteindex=1)
[2015-10-24 11:52:08(923)] On Remote UserCameraControl(dwUserId:-7, bOpen:1)
[2015-10-24 11:52:08(924)] On Remote UserSpeakControl(dwUserId:-7, bOpen:1)
[2015-10-24 11:52:09(140)] Message OnP2PConnectState(userid=-7, state=1)
[2015-10-24 11:52:09(223)] Message OnP2PConnectState(userid=-7, state=3)
[2015-10-24 11:52:10(328)] Invoke UserCameraControl(userid=-7, bOpen=1, stream=0)
[2015-10-24 11:52:10(329)] Invoke UserSpeakControl(userid=-7,bOpen=1)
[2015-10-24 11:52:10(331)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-10-24 11:52:10(331)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2015-10-24 11:52:10(453)] userid(-7) video decode, codec:1, 320x240, delay:9ms
[2015-10-24 11:52:10(578)] APPLOG Camera Preview size: 640 x 480
[2015-10-24 11:52:10(580)] APPLOG Camera Preview size: 320 x 240
[2015-10-24 11:52:10(581)] APPLOG Camera FrameRate: 6000 , 30000
[2015-10-24 11:52:10(687)] userid(-7) audio decode, codec:11, 1 channel, 16000Hz
[2015-10-24 11:52:10(945)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 11:52:10(946)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 11:52:10(946)] video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 11:52:11(087)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2015-10-24 11:52:11(091)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2015-10-24 11:52:11(092)] video init finish:320x240, NV21, fps:30, codecid:1
[2015-10-24 11:52:11(095)] Invoke SetInputAudioFormat(1, 16000, 16, flags:0)
[2015-10-24 11:52:11(096)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-10-24 11:52:11(100)] Audio codec init, handle:3, 11, 1, 16000, 16, 15850
[2015-10-24 11:52:11(189)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-10-24 11:52:11(313)] video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:4
从这开始断开的
[2015-10-24 11:56:27(311)] OnSocketClose, index(2)-errorcode(0-11), flags:0x41, bTcp(1),userid(-1), list:0
[2015-10-24 11:56:27(359)] Invoke UserCameraControl(userid=-7, bOpen=0, stream=0)
[2015-10-24 11:56:27(377)] Invoke UserSpeakControl(userid=-7,bOpen=0)
[2015-10-24 11:56:27(382)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 11:56:27(385)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 11:56:27(487)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2015-10-24 11:56:27(517)] Invoke UserCameraControl(userid=-7, bOpen=0, stream=0)
[2015-10-24 11:56:27(518)] Invoke UserSpeakControl(userid=-7,bOpen=0)
[2015-10-24 11:56:27(519)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-10-24 11:56:27(521)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-10-24 11:56:27(646)] Invoke LeaveRoom(roomid=-1) Elapse:108 ms
[2015-10-24 11:56:27(668)] Invoke LogoutServer(userid=-8) Elapse:16 ms
[2015-10-24 11:56:27(670)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
作者: 佰锐科技-邵光清 时间: 2015-10-24 12:43
本帖最后由 佰锐科技-邵光清 于 2015-10-24 12:47 编辑
您好,音视频正常吗,有报什么错误吗?请提供一下报错信息。
作者: nightkidfifa 时间: 2015-10-26 11:12
音视频开始时候正常,后面我一直保持屏幕待机长亮,却自动退出房间
log信息我提交了 52分-56分那段就是出错的地方
作者: nightkidfifa 时间: 2015-10-26 11:13
具体出错代码我稍后贴上来
作者: admin 时间: 2015-10-26 11:15
从这开始断开的
[2015-10-24 11:56:27(311)] OnSocketClose, index(2)-errorcode(0-11), flags:0x41, bTcp(1),userid(-1), list:0
这是正常的网络断开,与服务器是否授权无关的。您可以用PC对比测试一下看看?
作者: nightkidfifa 时间: 2015-12-2 16:23
已解决,是udp端口没打开
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) |
Powered by Discuz! X3 |