|
你好,我这边是这种情况:
直接连接内网wifi是可以展示 客户端视频的。
但是一旦连接3G网,客户端视频是没办法显示的,IOS客户端log日志如下:- [2015-09-06 14:11:50(252)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
- [2015-09-06 14:11:50(258)] Load libanychatcore.so success!(V5.2 Build Time:May 26 2015 15:03:15)
- [2015-09-06 14:11:50(263)] Load libmediautil.so success!(V5.2 Build Time:May 26 2015 15:03:28)
- [2015-09-06 14:11:50(270)] Load libmediashow.so success!(V5.2 Build Time:May 26 2015 15:03:23)
- [2015-09-06 14:11:50(275)] Load libmediacore.so success!(V5.2 Build Time:May 26 2015 15:03:21)
- [2015-09-06 14:11:50(282)] Invoke BRAC_Connect(www.yitong.com.cn,19085)=0
- [2015-09-06 14:11:50(285)] Invoke LoginServer(username=919_15623232323)
- [2015-09-06 14:11:50(371)] CheckClientSocketLink Connect(ip=60.174.249.221,port=19085)
- [2015-09-06 14:11:51(655)] Server version: V5.2(Build Time:2015-05-29 16:18:40, Server OS:Linux)
- [2015-09-06 14:11:51(659)] Message OnConnect(bSuccess:1, errorcode=0)
- [2015-09-06 14:11:53(163)] Message OnLoginSystem(userid=12,errorcode=0,username=919_15623232323), msg deliver worked(0)
- [2015-09-06 14:11:53(169)] Load libmediautil.so success!(V5.2 Build Time:May 26 2015 15:03:28)
- [2015-09-06 14:11:53(175)] Load libmediashow.so success!(V5.2 Build Time:May 26 2015 15:03:23)
- [2015-09-06 14:11:53(181)] Load libmediacore.so success!(V5.2 Build Time:May 26 2015 15:03:21)
- [2015-09-06 14:11:53(185)] Server running time: 0 days, 3 hours, 32 minutes, license mode:0
- [2015-09-06 14:11:53(198)] Invoke BRAC_VideoCallControl(EventType:1, UserId:10, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:(null))=0
- [2015-09-06 14:11:55(840)] Invoke EnterRoom(roomid=1)
- [2015-09-06 14:11:56(056)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
- [2015-09-06 14:11:56(210)] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
- [2015-09-06 14:11:56(216)] Message OnReceiveOnlineUser(count=2,roomid=1)
- [2015-09-06 14:11:56(218)] Invoke UserSpeakControl(userid=-1,bOpen=1)
- [2015-09-06 14:11:56(223)] Audio record control:1, result:-1
- [2015-09-06 14:11:56(226)] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x2c63e530, l:0, t:0, r:0, b:0)
- [2015-09-06 14:11:56(229)] Invoke UserCameraControl(userid=-1,bOpen=1)
- [2015-09-06 14:11:56(232)] Invoke UserSpeakControl(userid=10,bOpen=1)
- [2015-09-06 14:11:56(234)] On Remote UserCameraControl(dwUserId:10, bOpen:1)
- [2015-09-06 14:11:56(241)] Invoke BRAC_SetVideoPos(dwUserId:10, hWnd:0x3081ab70, l:0, t:0, r:200, b:200)
- [2015-09-06 14:11:56(246)] Invoke UserCameraControl(userid=10,bOpen=1)
- [2015-09-06 14:11:56(246)] On Remote UserSpeakControl(dwUserId:10, bOpen:1)
- [2015-09-06 14:11:56(256)] Default Audio Capture Driver()
- [2015-09-06 14:11:56(260)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
- [2015-09-06 14:11:56(263)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
- [2015-09-06 14:11:56(512)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
- [2015-09-06 14:11:56(698)] video init finish: 480x360, 25fps, fmt:106, ret:0
- [2015-09-06 14:11:56(703)] video init finish:480x360, NV12, fps:25, codecid:1
- [2015-09-06 14:11:56(751)] video codec init:codec:1, 15fps, 480x360, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
- [2015-09-06 14:11:57(287)] Warning: The UDP communication with the server abnormal!
- [2015-09-06 14:12:17(341)] On Remote UserCameraControl(dwUserId:10, bOpen:0)
- [2015-09-06 14:12:17(349)] On Remote UserSpeakControl(dwUserId:10, bOpen:0)
- [2015-09-06 14:12:17(353)] Message OnUserLeaveRoom(userid=10,siteindex=0)
- [2015-09-06 14:12:17(363)] Invoke UserSpeakControl(userid=-1,bOpen=0)
- [2015-09-06 14:12:17(370)] Invoke UserCameraControl(userid=-1,bOpen=0)
- [2015-09-06 14:12:17(457)] Invoke UserSpeakControl(userid=10,bOpen=0)
- [2015-09-06 14:12:17(459)] Invoke UserCameraControl(userid=10,bOpen=0)
- [2015-09-06 14:12:17(477)] Invoke LeaveRoom(roomid=-1) Elapse:13 ms
复制代码 这里为外网特别配置了一个映射:UDP (我这边是 19087),不知道这个有没有影响?
|
|