|
板凳
楼主 |
发表于 2015-11-21 20:59:21
|
只看该作者
邵工,你好!网络异常先放一边。我这边有个棘手的问题。。就是 ios移动端和web端 使用你们的视频呼叫请求方案,第一次视频呼叫接收 完全正常,但第二次后 移动端 ios就异常了。。。下面是客户端日志
这里打印了两次视频呼叫的完整日志,我分析了下,OnReceiveOnlineUser 中的count=2 第一次的count=1 然后 第二次就没有触发客户端的OnAnychatEnterRoom 回调 导致 移动端未开启本地音视频。。。。麻烦帮忙分析下为什么没有触发这个回调呢??
[2015-11-21 18:38:41(645)] Invoke Connect(121.40.225.50,8906)=0
[2015-11-21 18:38:41(652)] Invoke LoginServer(username=b06a9d926ce34456bccbb0b5564e0d2a#3#65277#138)
[2015-11-21 18:38:41(661)] Invoke Connect(121.40.225.50,8906)=0
[2015-11-21 18:38:41(669)] Invoke LoginServer(username=b06a9d926ce34456bccbb0b5564e0d2a#3#65277#138)
[2015-11-21 18:38:41(675)] CheckClientSocketLink Connect(ip=121.40.225.50,port=8906)
[2015-11-21 18:38:41(725)] Server version: V5.3(Build Time:2015-08-07 20:29:06, Server OS:Linux)
[2015-11-21 18:38:41(738)] Message OnConnect(bSuccess:1, errorcode=0)
[2015-11-21 18:38:41(871)] Message OnLoginSystem(userid=1001,errorcode=0,username=oúèêμ?), msg deliver worked(0)
[2015-11-21 18:38:41(874)] Load libmediautil.so success!(V5.3 Build Time:Aug 10 2015 12:28:31)
[2015-11-21 18:38:41(877)] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 12:28:27)
[2015-11-21 18:38:41(882)] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 12:28:25)
[2015-11-21 18:38:41(887)] Server running time: 0 days, 0 hours, 4 minutes, license mode:0
[2015-11-21 18:38:41(922)] Connection to streaming media server successfully!(udp delay:17ms)
[2015-11-21 18:38:46(308)] Message OnVideoCallEvent(EventType:1, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:0
[2015-11-21 18:38:47(444)] Invoke VideoCallControl(EventType:2, UserId:1, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2015-11-21 18:38:47(469)] Message OnVideoCallEvent(EventType:3, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:1
[2015-11-21 18:38:47(481)] Invoke EnterRoom(roomid=1)
[2015-11-21 18:38:47(547)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-11-21 18:38:47(695)] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
[2015-11-21 18:38:47(699)] Message OnReceiveOnlineUser(count=1,roomid=1)
[2015-11-21 18:38:47(703)] Message OnUserEnterRoom(userid=1,nickname=??????,siteindex=1)
[2015-11-21 18:38:54(287)] Apply video parameter:480x640, bitrate:0kbps, quality:4, gop:20, fps:18, preset:4, codec:1
[2015-11-21 18:38:54(293)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2015-11-21 18:38:54(297)] On Remote UserCameraControl(dwUserId:1, bOpen:1)
[2015-11-21 18:38:54(304)] Audio record control:1, result:-1
[2015-11-21 18:38:54(305)] On Remote UserSpeakControl(dwUserId:1, bOpen:1)
[2015-11-21 18:38:54(311)] Invoke SetVideoPos(dwUserId:-1, hWnd:0x372ad900, l:0, t:0, r:0, b:0)
[2015-11-21 18:38:54(315)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
[2015-11-21 18:38:54(318)] Invoke UserSpeakControl(userid=1,bOpen=1)
[2015-11-21 18:38:54(324)] Invoke SetVideoPos(dwUserId:1, hWnd:0x372ada50, l:0, t:0, r:0, b:0)
[2015-11-21 18:38:54(329)] Invoke UserCameraControl(userid=1, bOpen=1, stream=0)
[2015-11-21 18:38:54(333)] Default Audio Capture Driver()
[2015-11-21 18:38:54(337)] Message OnP2PConnectState(userid=1, state=2)
[2015-11-21 18:38:54(342)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2015-11-21 18:38:54(347)] Audio codec init, handle:5, 11, 1, 16000, 16, 15850
[2015-11-21 18:38:54(434)] userid(1) audio decode, codec:11, 1 channel, 16000Hz
[2015-11-21 18:38:54(530)] userid(1) video decode, codec:1, 1280x720, delay:19ms
[2015-11-21 18:38:54(611)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-11-21 18:38:54(991)] video init finish: 480x360, 25fps, fmt:100, ret:0
[2015-11-21 18:38:54(995)] video init finish:480x360, YUV420, fps:25, codecid:1
[2015-11-21 18:38:55(026)] video codec init:codec:1, 18fps, 480x360, bitrate:0kbps, quality:4, preset:4, gop:20, handle:8
[2015-11-21 18:38:55(215)] Message OnP2PConnectState(userid=1, state=3)
[2015-11-21 18:38:58(000)] Message OnVideoCallEvent(EventType:4, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:0
[2015-11-21 18:38:58(218)] Message OnUserLeaveRoom(userid=1,siteindex=1)
[2015-11-21 18:38:58(308)] Invoke LeaveRoom(roomid=1001) Elapse:296 ms
[2015-11-21 18:38:58(313)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-11-21 18:38:58(317)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-11-21 18:38:58(321)] Invoke UserSpeakControl(userid=1,bOpen=0)
[2015-11-21 18:38:58(325)] Invoke UserCameraControl(userid=1, bOpen=0, stream=0)
[2015-11-21 18:38:59(308)] Message OnVideoCallEvent(EventType:1, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:0
[2015-11-21 18:39:00(267)] Invoke VideoCallControl(EventType:2, UserId:1, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2015-11-21 18:39:00(287)] Message OnVideoCallEvent(EventType:3, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:1
[2015-11-21 18:39:00(301)] Invoke EnterRoom(roomid=1)
[2015-11-21 18:39:00(393)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2015-11-21 18:39:00(416)] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
[2015-11-21 18:39:00(420)] Message OnReceiveOnlineUser(count=2,roomid=1)
[2015-11-21 18:39:00(668)] On Remote UserCameraControl(dwUserId:1, bOpen:1)
[2015-11-21 18:39:00(671)] On Remote UserSpeakControl(dwUserId:1, bOpen:1)
[2015-11-21 18:39:00(775)] Message OnP2PConnectState(userid=1, state=1)
[2015-11-21 18:39:01(460)] Message OnP2PConnectState(userid=1, state=3)
[2015-11-21 18:39:07(497)] Message OnVideoCallEvent(EventType:4, UserId:1, ErrorCode:0, dwFlags:0x0, dwParam:0
[2015-11-21 18:39:07(525)] Invoke LeaveRoom(roomid=1001) Elapse:15 ms
[2015-11-21 18:39:07(530)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2015-11-21 18:39:07(535)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2015-11-21 18:39:07(541)] Invoke UserSpeakControl(userid=1,bOpen=0)
[2015-11-21 18:39:07(545)] Invoke UserCameraControl(userid=1, bOpen=0, stream=0) |
|