设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

AnyChat使用攻略之独立部署Linux中心录像服务器

[复制链接]

4

主题

869

帖子

3032

积分

论坛元老

Rank: 8Rank: 8

积分
3032
发表于 2016-12-12 09:23:38 | 显示全部楼层
LCL5555555 发表于 2016-12-12 09:07
[2016-12-12 09:00:40(978)]        ---------------------------AnyChat Platform Core SDK Client Log-------- ...

你好,录像服务器是否成功启动了?请将录像服务器的日志发上来分析。
回复 支持 反对

使用道具 举报

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2016-12-12 09:27:13 | 显示全部楼层
佰锐科技-邵光清 发表于 2016-12-12 09:23
你好,录像服务器是否成功启动了?请将录像服务器的日志发上来分析。

2016-12-12 09:06:30(611)]        Load libbrservernetlayer.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:libipcfilterplus.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:32:16 | 显示全部楼层
LCL5555555 发表于 2016-12-12 09:27
2016-12-12 09:06:30(611)]        Load libbrservernetlayer.so success!(V6.1, Build time:Jun 30 2016 15:26: ...

请将录像服务器的配置文件ini发上来看看。
回复 支持 反对

使用道具 举报

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2016-12-12 09:41:06 | 显示全部楼层
佰锐科技-邵光清 发表于 2016-12-12 09:32
请将录像服务器的配置文件ini发上来看看。

[User Settings]
VideoCapture=1-Lenovo USB2.0 UVC Camera
AudioCapture=1-麦克风 (Lenovo USB2.0 Audio)
AudioPlayback=
AudioCapMode=0

这是客服端的INI,
[base settings]
serveripaddr                   = 127.0.0.1
serverudpport                  = 8907
recordrootdir                  = record
recordrooturl                  =
servercallbackpathtype         = 1
clientcallbackpathtype         = 2
streambuffertime               = 10000
tcplistenport                  = 8928
udpserviceport                 = 8928

[cluster settings]
rootserveripaddr1              = 127.0.0.1
rootserverport1                = 8910
internetipaddr1                =
internettcpport                = 0
internetudpport                = 0
serviceguid                    = 56C84C9C-FEDC-1942-BEDE-BF75C4118EA6
versionguid                    = 00000000-0000-0000-0000-000000000000
coreserveraddr                 = 127.0.0.1
coreserverport                 = 8906
machineguid                    = 00000000-0000-0000-0000-000000000000
rootserverpriority1            = 0

[debug settings]
debuglevel                     = 3
debugflags                     = 0

这是服务器的配置
回复 支持 反对

使用道具 举报

发表于 2016-12-12 09:49:56 | 显示全部楼层
LCL5555555 发表于 2016-12-12 09:41
VideoCapture=1-Lenovo USB2.0 UVC Camera
AudioCapture=1-麦克风 (Lenovo USB2.0 Audio)
AudioPlayb ...

应该是录像服务器启动有不对的地方,这是正常的ini文件,请下载并放到bin/recordserver目录替换旧的,再重启anychatrecordserver。

anychatrecordserver.rar

412 Bytes, 下载次数: 11

录像服务器配置文件

回复 支持 反对

使用道具 举报

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2016-12-12 10:00:39 | 显示全部楼层
佰锐科技-邵光清 发表于 2016-12-12 09:49
应该是录像服务器启动有不对的地方,这是正常的ini文件,请下载并放到bin/recordserver目录替换旧的,再 ...

[2016-12-12 09:59:02(048)]        Received start server record command, userid:-10, flags:0x1837
[2016-12-12 09:59:25(842)]        Received stop server record command, userid:-10
[2016-12-12 09:59:25(898)]        Error, OnServerRecordFinish, RelativePathName is NULL, user(-10) record task info!(elapse:0, flags:0x1837)

还是错误,这是日志
回复 支持 反对

使用道具 举报

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2016-12-12 10:02:44 | 显示全部楼层
LCL5555555 发表于 2016-12-12 10:00
[2016-12-12 09:59:02(048)]        Received start server record command, userid:-10, flags:0x1837
[2016-1 ...

你有QQ之类的即时聊天吗?这个问题困扰我好久了,想跟你仔细聊聊
回复 支持 反对

使用道具 举报

发表于 2016-12-12 10:15:25 | 显示全部楼层
LCL5555555 发表于 2016-12-12 10:02
你有QQ之类的即时聊天吗?这个问题困扰我好久了,想跟你仔细聊聊

请将anychatrecordserver的日志发来分析,谢谢
回复 支持 反对

使用道具 举报

9

主题

43

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2016-12-12 10:19:36 | 显示全部楼层
佰锐科技-邵光清 发表于 2016-12-12 10:15
请将anychatrecordserver的日志发来分析,谢谢

[2016-12-09 19:18:09(165)]        AnyChat Record Server Init,V6.1, Build Time:Jun 30 2016 15:26:46
[2016-12-09 19:18:09(165)]        Record Root Directory: /home/dave/anychat/anychatcoresdk_linux_x64_r5596/bin/recordserver/record/
[2016-12-09 19:18:09(165)]        Record Stream Buffer Time: 10000 ms
[2016-12-09 19:18:09(165)]        DebugLevel:3, DebugFlags:0x0
[2016-12-09 19:18:09(165)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-12-09 19:18:09(166)]        Load libmediautil.so success!(V6.1 Build Time:Jun 30 2016 15:25:03)
[2016-12-09 19:18:09(166)]        Start cluster bus connect: 127.0.0.1:8910
[2016-12-09 19:18:10(170)]        Try connect to anychatcoreserver(127.0.0.1:8907)...
[2016-12-09 19:18:10(170)]        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!
[2016-12-12 09:05:47(296)]        Lost the connection to the server(errorcode:100, param:10), ready to reconnect...
[2016-12-12 09:05:47(306)]        Try connect to anychatcoreserver(127.0.0.1:8907)...
[2016-12-12 09:06:31(612)]        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!
[2016-12-12 09:09:02(146)]        AnyChat Record Server Init,V6.1, Build Time:Jun 30 2016 15:26:46
[2016-12-12 09:09:02(146)]        Record Root Directory: /home/dave/anychat/anychatcoresdk_linux_x64_r5596/bin/recordserver/record/
[2016-12-12 09:09:02(146)]        Record Stream Buffer Time: 10000 ms
[2016-12-12 09:09:02(146)]        DebugLevel:3, DebugFlags:0x0
[2016-12-12 09:09:02(146)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-12-12 09:09:02(146)]        Load libmediautil.so success!(V6.1 Build Time:Jun 30 2016 15:25:03)
[2016-12-12 09:09:02(146)]        Start cluster bus connect: 127.0.0.1:8910
[2016-12-12 09:09:03(148)]        Try connect to anychatcoreserver(127.0.0.1:8907)...
[2016-12-12 09:09:03(150)]        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!
[2016-12-12 09:57:54(752)]        AnyChat Record Server Init,V6.1, Build Time:Jun 30 2016 15:26:46
[2016-12-12 09:57:54(752)]        Record Root Directory: /home/dave/anychat/anychatcoresdk_linux_x64_r5596/bin/recordserver/record/
[2016-12-12 09:57:54(752)]        Record Stream Buffer Time: 10000 ms
[2016-12-12 09:57:54(752)]        DebugLevel:4, DebugFlags:0x1
[2016-12-12 09:57:54(752)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-12-12 09:57:54(752)]        Load libmediautil.so success!(V6.1 Build Time:Jun 30 2016 15:25:03)
[2016-12-12 09:57:55(753)]        Try connect to anychatcoreserver(127.0.0.1:8907)...
[2016-12-12 09:57:55(762)]        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9070

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9070
发表于 2016-12-12 10:37:50 | 显示全部楼层
AnyChat Record Server Init,V6.1, Build Time:Jun 30 2016 15:26:46

亲,把录像、核心都升级到最新的版本,看问题是否依然存在?新版本针对录像服务器做了大量的优化工作。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 22:24 , Processed in 0.145238 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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