android,IOS端连接云服务器看直播很卡是什么原因
在腾讯云上部署了一个基于anychat的服务器,android,IOS端连接服务器看直播很卡是什么原因?对了,补充一点,android IOS手机端并不是采集端,采集端是专门开发的一个设备,也是基于anychat SDK的! wangcongliwin 发表于 2017-3-10 09:44
对了,补充一点,android IOS手机端并不是采集端,采集端是专门开发的一个设备,也是基于anychat SDK的!
你好 有相关日志吗 发上来看一下 另外你的网络状况怎样呢? 我用的云服务器贷款时10M的
这是IOS端控制台log!
---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 15:11:16)
Load libmediautil.so success!(V6.1 Build Time:Jun 30 2016 15:11:52)
Load libmediashow.so success!(V6.1 Build Time:Jun 30 2016 15:11:48)
Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 15:11:45)
Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=0)
Start network engine(IPv4 mode)...
Invoke Connect(123.57.4.104,8906)=0
Invoke Login(username:13211111111)=0
Create anychatdnsserver connect:123.57.4.104(8906)
On pre-connection result, errorcode:0, anychatcoreserver, 123.57.4.104(8906, tcp:1)
CheckClientSocketLink Connect(ip=123.57.4.104,port=8906)
Server version: V6.1(Build Time:2016-08-02 13:32:09, Linux server)
Message OnConnect(bSuccess:1, errorcode=0)
Message OnLoginSystem(userid=887,errorcode=0,username=13211111111), msg deliver worked(0)
Load libmediautil.so success!(V6.1 Build Time:Jun 30 2016 15:11:52)
Load libmediashow.so success!(V6.1 Build Time:Jun 30 2016 15:11:48)
Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 15:11:45)
Server running time: 56 days, 0 hours, 15 minutes, license mode:0
Invoke EnterRoom(roomid=1172)
Connection to streaming media server successfully!(udp delay:17ms)
Message OnEnterRoom(roomid=1172,errorcode=0,siteindex=1)
Init iOS audio finish(1, 16000, 16), capture size:640
Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
Message OnReceiveOnlineUser(count=2,roomid=1172)
On Remote UserSpeakControl(dwUserId:884, bOpen:1)
Message OnP2PConnectState(userid=884, state=2)
Invoke UserSpeakControl(userid=-1,bOpen=1)
Invoke UserSpeakControl(userid=884,bOpen=1)
Default Audio Capture Driver()
Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
Invoke SetVideoPos(dwUserId:884, hWnd:0xf382d3d0, l:0, t:0, r:0, b:0, dwStreamIndex:0)
Invoke UserCameraControl(userid=884, bOpen=1, stream=0)
Audio codec init, handle:1, 11, 1, 16000, 16, 15850
userid(884) audio decode, codec:11, 1 channel, 16000Hz
userid(884) video decode, codec:1, 640x480, delay:6ms
wangcongliwin 发表于 2017-3-10 09:50
我用的云服务器贷款时10M的
带宽是10M的,打错字了 wangcongliwin 发表于 2017-3-10 09:51
这是IOS端控制台log!
---------------------------AnyChat Platf ...
建议客户端和服务器更新到最新6.3版本试一试
页:
[1]