设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2493|回复: 0
打印 上一主题 下一主题

求分析视频录制到服务器端失败原因,本地录制以解决

[复制链接]

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
跳转到指定楼层
楼主
发表于 2016-12-12 09:23:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
中心服务器日志如下
[2016-12-12 09:06:30(611)]        Load file:///C:\Users\sfb\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnglibbrservernetlayer.so success!(V6.1, Build time:Jun 30 2016 15:26:22)
[2016-12-12 09:06:30(623)]        Net check time: 5s, timeout time: 20s
[2016-12-12 09:06:30(624)]        Start TCP Server Successed(port=8906)!
[2016-12-12 09:06:30(624)]        Start UDP Server Successed(port=8907)!
[2016-12-12 09:06:30(624)]        AnyChat IPC Filter Plus Init, Build Time:Jun 30 2016 15:26:38
[2016-12-12 09:06:30(624)]        Load SDK Filter Plus:file:///C:\Users\sfb\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnglibipcfilterplus.so Success, ver:SDK Filter Plus (IPC), for Linux V6.1
[2016-12-12 09:06:30(624)]        IPCFilterPlus listen port:8900
[2016-12-12 09:06:30(633)]        Start Server At Demo Mode!
[2016-12-12 09:06:31(153)]        Successful communicate with the business server!
[2016-12-12 09:06:31(612)]        Successful communicate with the record server!(127.0.0.1:39381, id:-1)
[2016-12-12 09:08:57(648)]        Record server(127.0.0.1:39381) disconnect! (errorcode:100, param:11)
[2016-12-12 09:09:03(150)]        Successful communicate with the record server!(127.0.0.1:59896, id:-1)
[2016-12-12 09:13:09(807)]        Received start server record command, userid:-2, flags:0x1837
[2016-12-12 09:13:32(459)]        Received stop server record command, userid:-2
[2016-12-12 09:13:32(499)]        Error, OnServerRecordFinish, RelativePathName is NULL, user(-2) record task info!(elapse:0, flags:0x1837)


客户端日志如下
[2016-12-12 09:12:54(185)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-12-12 09:12:54(185)][I]        Load BRAnyChatCore.dll success!(V6.2 Build Time:Nov 20 2016 13:42:22)
[2016-12-12 09:12:54(200)][I]        Load BRMiscUtil.dll success!(V6.2 Build Time:Nov 20 2016 13:44:17)
[2016-12-12 09:12:54(247)][I]        Load BRMediaUtil.dll success!(V6.2 Build Time:Nov 20 2016 13:41:38)
[2016-12-12 09:12:54(247)][I]        Load BRMediaShow.dll success!(V6.2 Build Time:Nov 20 2016 13:44:22)
[2016-12-12 09:12:54(263)][I]        Load BRMediaCore.dll success!(V6.2 Build Time:Nov 20 2016 13:44:35)
[2016-12-12 09:12:54(294)][I]        Video capture device supported:
[2016-12-12 09:12:54(294)][I]                1-Lenovo USB2.0 UVC Camera
[2016-12-12 09:12:54(294)][I]        Audio capture device supported:
[2016-12-12 09:12:54(294)][I]                1-麦克风 (Lenovo USB2.0 Audio)
[2016-12-12 09:12:54(341)][I]        Start network engine(IPv4 mode)...
[2016-12-12 09:12:54(341)][I]        Invoke        Connect(10.7.7.100,8906)=0
[2016-12-12 09:12:54(341)][I]        Invoke        Login(usernameC端登录名)=0
[2016-12-12 09:12:54(357)][I]        Create anychatdnsserver connect:10.7.7.100(8906)
[2016-12-12 09:12:54(567)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 10.7.7.100(8906, tcp:1)
[2016-12-12 09:12:54(567)][I]        CheckClientSocketLink         Connect(ip=10.7.7.100,port=8906)
[2016-12-12 09:12:54(661)][I]        On connect return, errorcode:0
[2016-12-12 09:12:54(708)][I]        Server version: V6.1(Build Time:2016-06-30 15:26:09, Linux server)
[2016-12-12 09:12:54(770)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-12-12 09:12:54(895)][I]        Message        OnLoginSystem(userid=-2,errorcode=0,username=PC端登录名), msg deliver worked(1)
[2016-12-12 09:12:54(895)][I]        Server running time: 0 days, 0 hours, 6 minutes, license mode:0, cloud:0
[2016-12-12 09:12:54(942)][I]        Connection to streaming media server successfully!(udp delay:23ms)
[2016-12-12 09:12:54(973)][I]        Object InitFlags:0x2
[2016-12-12 09:12:54(973)][I]        Invoke        ObjectControl(objecttype:4, objectid:-1, ctrlcode:3, params:-2, 0, 0, 0) = 0
[2016-12-12 09:12:55(114)][I]        Sync area data finish, total area count:1
[2016-12-12 09:12:55(114)][I]                Area object(type:4) id:10001 Area Name:中心营业厅 Guest Count:0 Agent Count:0
[2016-12-12 09:12:55(364)][I]        Invoke        ObjectControl(objecttype:4, objectid:10001, ctrlcode:401, params:0, 0, 0, 0) = 0
[2016-12-12 09:12:55(520)][I]        Area(10001) object Event, enter result errorcode:0, queue count:1
[2016-12-12 09:13:07(931)][I]        Invoke        ObjectControl(objecttype:6, objectid:-2, ctrlcode:602, params:0, 0, 0, 0) = 0
[2016-12-12 09:13:08(197)][I]        Invoke        VideoCallControl(EventType:1, UserId:-3, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2016-12-12 09:13:08(275)][I]        Message        OnVideoCallEvent(EventType:2, UserId:-3, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-12-12 09:13:09(322)][I]        Message        OnVideoCallEvent(EventType:3, UserId:-3, ErrorCode:0, dwFlags:0x0, dwParam:1
[2016-12-12 09:13:09(322)][I]        Invoke        EnterRoom(roomid=1)
[2016-12-12 09:13:09(463)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-12-12 09:13:09(463)][I]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2016-12-12 09:13:09(463)][I]        Message        OnUserEnterRoom(userid=-3,nickname=android1,siteindex=1)
[2016-12-12 09:13:09(494)][I]        Invoke        UserCameraControl(userid=-2, bOpen=1, stream=0)
[2016-12-12 09:13:09(530)][I]        Invoke        UserSpeakControl(userid=-2,bOpen=1)
[2016-12-12 09:13:09(564)][I]        WaveIn Audio Capture Driver(麦克风 (Lenovo USB2.0 Audio))
[2016-12-12 09:13:09(564)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2016-12-12 09:13:09(564)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2016-12-12 09:13:09(611)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2016-12-12 09:13:09(627)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-12-12 09:13:09(640)][I]        Invoke        StreamRecordCtrlEx(-1, 1, 0x1837, 0, LCL)=0
[2016-12-12 09:13:09(642)][I]        user(-2) record audio stream parameter: codec:11, 1 channel, 16000Hz
[2016-12-12 09:13:09(661)][I]        Invoke        UserCameraControl(userid=-3, bOpen=1, stream=0)
[2016-12-12 09:13:09(681)][I]        Invoke        UserSpeakControl(userid=-3,bOpen=1)
[2016-12-12 09:13:09(730)][I]        Invoke        UserCameraControl(userid=-3, bOpen=1, stream=0)
[2016-12-12 09:13:09(744)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(745)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(746)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(746)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(747)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(748)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(749)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(MJPG, 0x47504a4d, 30fps)
[2016-12-12 09:13:09(750)][I]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(YUY2, 0x32595559, 10fps)
[2016-12-12 09:13:09(751)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(752)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(752)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(753)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(753)][I]        Invoke        UserSpeakControl(userid=-3,bOpen=1)
[2016-12-12 09:13:09(753)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(754)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2016-12-12 09:13:09(754)][I]        Prepare config camera(1-Lenovo USB2.0 UVC Camera): 320x240, 25fps
[2016-12-12 09:13:09(757)][I]                The best video format is detected: YUY2
[2016-12-12 09:13:09(759)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2016-12-12 09:13:09(759)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2016-12-12 09:13:09(777)][I]        video init finish:320x240, YUY2, fps:25, codecid:1
[2016-12-12 09:13:09(859)][I]        On Remote UserCameraControl(dwUserId:-3, bOpen:1)
[2016-12-12 09:13:09(912)][I]        On Remote UserSpeakControl(dwUserId:-3, bOpen:1)
[2016-12-12 09:13:09(965)][I]        video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:3
[2016-12-12 09:13:09(967)][I]        User(-2) record video stream parameter: codec:1, 320x240, 15fps
[2016-12-12 09:13:09(990)][I]        User(-2) record init successed! filepath:Stream Record
[2016-12-12 09:13:12(193)][I]        Message        OnP2PConnectState(userid=-3, state=1)
[2016-12-12 09:13:15(029)][I]        Message        OnP2PConnectState(userid=-3, state=3)
[2016-12-12 09:13:15(139)][I]        userid(-3) audio decode, codec:11, 1 channel, 16000Hz
[2016-12-12 09:13:16(263)][I]        userid(-3) video decode, codec:1, 320x240, delay:0ms
[2016-12-12 09:13:21(525)][I]        Invoke        SnapShot(-3, 0x0, 0)=0
[2016-12-12 09:13:21(558)][I]        Prepare create record file:C:\PROGRA~2\BAIRUI~1\ANYCHA~1\temp\snapshot\2016-12-12\09-13-21-556_android1_75.jpg, dwFlags:0x0
[2016-12-12 09:13:21(605)][I]        Invoke        TransFile(dwUserid=-1, dwTaskId:0, PathName:0)=710
[2016-12-12 09:13:32(284)][I]        Invoke        VideoCallControl(EventType:4, UserId:-3, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
[2016-12-12 09:13:32(291)][I]        Message        OnVideoCallEvent(EventType:4, UserId:-3, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-12-12 09:13:32(313)][I]        Invoke        StreamRecordCtrlEx(-1, 0, 0x1837, 0, LCL)=0
[2016-12-12 09:13:32(593)][I]        Invoke        LeaveRoom(roomid=1)        Elapse:250 ms
[2016-12-12 09:13:32(593)][I]        Invoke        UserCameraControl(userid=-3, bOpen=0, stream=0)
[2016-12-12 09:13:32(648)][I]        Invoke        UserSpeakControl(userid=-3,bOpen=0)
[2016-12-12 09:13:32(664)][I]        Invoke        ObjectControl(objecttype:6, objectid:-2, ctrlcode:604, params:0, 0, 0, 0) = 0
[2016-12-12 09:13:32(844)][I]        OnSocketClose, index(3)-errorcode(0-0), flags:0x10481, bTcp(1),userid(-3), list:0


本地回调的方法没有执行,服务器没有录制好的视频,但是录制到本地一切正常,求分析原因,
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-4-26 12:54 , Processed in 0.120670 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表