AnyChat技术支持论坛
标题:
视频截图的问题
[打印本页]
作者:
yzmaomao
时间:
2014-9-26 19:25
标题:
视频截图的问题
我调用int state=anychat.SnapShot(userID, 0, 0);这个方法,state 返回值为0
在OnAnyChatSnapShotEvent回调里,告诉我路径是/sdcard/record/2014-09-26/19-19-19-930_优化_57.jpg
可是在我的手机上确找不到这张图片
作者:
admin
时间:
2014-9-26 19:28
是否存在日志文件(/sdcard/BRAnyChatCore.log)呢?
以及是否存在/sdcard/record目录?
作者:
yzmaomao
时间:
2014-9-26 19:32
2个文件都有的
作者:
yzmaomao
时间:
2014-9-26 19:33
[2014-09-26 19:26:47(833)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-09-26 19:26:47(840)] Load libanychatcore.so success!(V5.1 Build Time:Sep 3 2014 14:07:41)
[2014-09-26 19:26:47(840)] Android OS SDK Version:16, Support ARMv7:2, Support Neon:4
[2014-09-26 19:26:47(859)] Load libmediautil_v7.so success!(V5.1 Build Time:Sep 3 2014 14:08:48)
[2014-09-26 19:26:47(870)] Load libmediashow_4.0.so success!(V5.1 Build Time:Sep 3 2014 14:08:12)
[2014-09-26 19:26:47(882)] Load libmediacore_4.1.so success!(V5.1 Build Time:Sep 3 2014 14:08:30)
[2014-09-26 19:26:47(884)] CPU:501.64 MIPS, Hardware:protodcg
[2014-09-26 19:26:52(689)] Invoke BRAC_Connect(192.168.1.105,8906)=0
[2014-09-26 19:26:52(690)] Invoke LoginServer(username=test)
[2014-09-26 19:26:52(757)] CheckClientSocketLink Connect(ip=192.168.1.105,port=8906)
[2014-09-26 19:26:52(800)] Server version: V5.1(Build Time:2014-09-02 23:42:26, Server OS:Windows)
[2014-09-26 19:26:52(846)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-09-26 19:26:54(315)] Message OnLoginSystem(userid=3,errorcode=0,username=test), msg deliver worked(0)
[2014-09-26 19:26:54(326)] Connection to streaming media server successfully!(udp delay:5ms)
[2014-09-26 19:26:54(455)] Apply video parameter:320x240, bitrate:1000000, quality:3, gop:100, fps:25, preset:3, codec:0
[2014-09-26 19:26:54(455)] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-09-26 19:26:54(455)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-09-26 19:26:54(456)] Invoke BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-09-26 19:26:55(557)] Invoke EnterRoom(roomid=1)
[2014-09-26 19:26:57(221)] Invoke EnterRoom(roomid=1)
[2014-09-26 19:26:57(860)] Invoke EnterRoom(roomid=1)
[2014-09-26 19:26:58(372)] Invoke EnterRoom(roomid=1)
[2014-09-26 19:26:58(989)] Invoke EnterRoom(roomid=1)
[2014-09-26 19:26:59(095)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2014-09-26 19:26:59(097)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-09-26 19:26:59(102)] Message OnReceiveOnlineUser(count=2,roomid=1)
[2014-09-26 19:26:59(743)] Message OnP2PConnectState(userid=5, state=1)
[2014-09-26 19:26:59(754)] Message OnP2PConnectState(userid=5, state=3)
[2014-09-26 19:27:01(502)] Invoke UserCameraControl(userid=5,bOpen=1)
[2014-09-26 19:27:01(503)] Invoke UserSpeakControl(userid=5,bOpen=1)
[2014-09-26 19:27:01(509)] Invoke UserCameraControl(userid=-1,bOpen=1)
[2014-09-26 19:27:01(510)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2014-09-26 19:27:02(214)] video init finish:320x240, NV21, fps:25
[2014-09-26 19:27:02(237)] video init finish:320x240, NV21, fps:25
[2014-09-26 19:27:02(258)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-09-26 19:27:02(260)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-09-26 19:27:02(468)] video codec init:codec:1, 25fps, 320x240, bitrate:1000000, quality:3, preset:3, gop:100, handle:2
[2014-09-26 19:27:02(558)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-09-26 19:27:03(841)] On Remote UserC
作者:
yzmaomao
时间:
2014-9-26 19:41
这样是什么原因呢
作者:
admin
时间:
2014-9-26 20:01
您好,建议您更新SDK到最新版本(参考:
AnyChat版本升级步骤指南
),新版本有修正一个Bug,早期的SDK不支持中文文件名。
作者:
yzmaomao
时间:
2014-9-26 20:06
我要更新哪个版本呢?android客户端?还是服务端?
作者:
admin
时间:
2014-9-26 20:07
android客户端
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3