|
5#
楼主 |
发表于 2015-1-16 19:11:30
|
只看该作者
本帖最后由 Hello_Kitty 于 2015-1-16 19:23 编辑
打开系统自带的摄像和语音都可以。
我运行是: qmake-qt4 helloAnyChat.pro
make
中间,第一次会报错,缺少QModelIndex,我就在widget.h里面加了这个#include <QModelIndex>
19:08:03(164) ---------------------------AnyChat Platform Core SDK Client Log---------------------------
19:08:03(164) Load libanychatcore.so success!(V5.1 Build Time:Jan 14 2015 09:23:08)
19:08:03(168) Load libmediautil.so success!(V5.2 Build Time:Jan 14 2015 09:23:14)
19:08:03(170) Load libmediashow.so success!(V5.1 Build Time:Jan 14 2015 09:23:15)
19:08:03(172) Load libmediacore.so success!(V5.1 Build Time:Jan 14 2015 09:23:12)
19:08:16(389) Invoke BRAC_Connect(172.19.73.113,8906)=0
19:08:16(389) Invoke LoginServer(username=wyl)
19:08:16(389) Invoke EnterRoom(roomid=1)
19:08:16(416) CheckClientSocketLink Connect(ip=172.19.73.113,port=8906)
19:08:16(446) Server version: V5.1(Build Time:2014-12-25 16:34:49, Server OSinux)
19:08:16(487) Message OnConnect(bSuccess:1, errorcode=0)
19:08:16(547) Message OnLoginSystem(userid=-5,errorcode=0,username=wyl), msg deliver worked(0)
19:08:16(547) Server running time: 0 days, 0 hours, 18 minutes, license mode:0
19:08:16(558) Connection to streaming media server successfully!(udp delay:5ms)
19:08:16(618) Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
19:08:16(632) Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
19:08:16(632) Message OnReceiveOnlineUser(count=1,roomid=1)
19:08:16(640) Invoke UserCameraControl(userid=-1,bOpen=1)
open video device(mmap mode) failed!(errorcode:16001)
19:08:16(640) Invoke UserSpeakControl(userid=-1,bOpen=1)
19:08:16(742) video init finish:320x240, YUY2, fps:30
19:08:16(752) Default Audio Capture Driver()
19:08:16(752) Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
19:08:16(752) Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[libx264 @ 0x7f03dc005a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7f03dc005a00] profile High, level 1.2
19:08:17(526) video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
m_lpLocalVideoFrame realloc
m_lpLocalVideoFrame realloc end
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
|
|