设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

结束录制视频 , 核心服务器有时候不回调业务服务器的结束录制回调函数?

[复制链接]

3

主题

4

帖子

27

积分

新手上路

Rank: 1

积分
27
跳转到指定楼层
楼主
发表于 2015-1-5 23:15:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
录像服务器日志
[2015-01-04 14:28:18(610)]        Received recording tasks(userid:563, roomid:13475115), preparing record...
[2015-01-04 14:29:09(453)]        Stop recording(userid:563), seconds:44, record file name:Z:\record\2015-01-04\14-28-24-344_563_36.mp4
[2015-01-04 14:29:44(437)]        Received recording tasks(userid:563, roomid:13475115), preparing record...
[2015-01-04 14:30:15(108)]        Stop recording(userid:563), seconds:26, record file name:Z:\record\2015-01-04\14-29-49-577_563_61.mp4
[2015-01-04 14:31:20(779)]        Received recording tasks(userid:563, roomid:13475115), preparing record...
[2015-01-04 14:31:49(482)]        Stop recording(userid:563), seconds:24, record file name:Z:\record\2015-01-04\14-31-25-889_563_15.mp4




业务服务器日志
[2015-01-04 14:25:29(680)]        VerifyUserCallBack(UserName:563,UserId:563)        ErrorCode:0        Elapse:0ms
[2015-01-04 14:25:30(206)]        OnUserLoginActionCallBack(UserId:563,UserName:563)        Elapse:0ms
[2015-01-04 14:25:30(208)]        PerpareEnterRoomCallBack(UserId:563,RoomId:13475115)        ErrorCode:0        Elapse:0ms
[2015-01-04 14:25:33(830)]        OnUserEnterRoomActionCallBack(UserId:563,RoomId:13475115)        Elapse:3369ms
[2015-01-04 14:25:33(831)]        VerifyUserCallBack(UserName:562,UserId:562)        ErrorCode:0        Elapse:0ms
[2015-01-04 14:25:33(853)]        OnUserLoginActionCallBack(UserId:562,UserName:562)        Elapse:0ms
[2015-01-04 14:25:34(152)]        PerpareEnterRoomCallBack(UserId:562,RoomId:13475115)        ErrorCode:0        Elapse:16ms
[2015-01-04 14:25:34(299)]        OnUserEnterRoomActionCallBack(UserId:562,RoomId:13475115)        Elapse:124ms
[2015-01-04 14:27:42(975)]        VerifyUserCallBack(UserName:561,UserId:561)        ErrorCode:0        Elapse:0ms
[2015-01-04 14:27:43(184)]        OnUserLoginActionCallBack(UserId:561,UserName:561)        Elapse:0ms
[2015-01-04 14:27:43(881)]        PerpareEnterRoomCallBack(UserId:561,RoomId:13475115)        ErrorCode:0        Elapse:0ms
[2015-01-04 14:27:43(994)]        OnUserEnterRoomActionCallBack(UserId:561,RoomId:13475115)        Elapse:78ms
[2015-01-04 14:29:42(583)]        OnServerRecordExCallBack(dwUserId:563, dwElapse:26, szFileName:Z:\record\2015-01-04\14-29-49-577_563_61.mp4, dwFlags:0x17)
[2015-01-04 14:29:42(955)]        OnServerRecordCallBack(dwUserId:563, dwElapse:26, szFileName:Z:\record\2015-01-04\14-29-49-577_563_61.mp4)
[2015-01-04 14:31:16(924)]        OnServerRecordExCallBack(dwUserId:563, dwElapse:24, szFileName:Z:\record\2015-01-04\14-31-25-889_563_15.mp4, dwFlags:0x17)
[2015-01-04 14:31:17(294)]        OnServerRecordCallBack(dwUserId:563, dwElapse:24, szFileName:Z:\record\2015-01-04\14-31-25-889_563_15.mp4)
[2015-01-04 14:31:21(586)]        OnUserLogoutActionExCallBack(UserId:561, dwErrorCode:0)        Elapse:63ms
[2015-01-04 14:31:21(586)]        OnUserLeaveRoomActionCallBack(UserId:561,RoomId:13475115)        Elapse:0ms
[2015-01-04 14:32:31(035)]        OnUserLogoutActionExCallBack(UserId:562, dwErrorCode:0)        Elapse:78ms
[2015-01-04 14:32:31(173)]        OnUserLeaveRoomActionCallBack(UserId:562,RoomId:13475115)        Elapse:0ms
[2015-01-04 14:32:38(267)]        OnUserLogoutActionExCallBack(UserId:563, dwErrorCode:0)        Elapse:46ms
[2015-01-04 14:32:38(267)]        OnUserLeaveRoomActionCallBack(UserId:563,RoomId:13475115)        Elapse:0ms

客户端日志
[2015-01-04 14:25:32(057)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-01-04 14:25:32(058)]        Load BRAnyChatCore.dll success!(V5.1 Build Time:Oct 13 2014 19:12:25)
[2015-01-04 14:25:32(064)]        Load BRMiscUtil.dll success!(V5.1 Build Time:Oct 13 2014 19:10:46)
[2015-01-04 14:25:32(096)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Oct 13 2014 19:10:51)
[2015-01-04 14:25:32(097)]        Load BRMediaShow.dll success!(V5.1 Build Time:Oct 13 2014 19:10:50)
[2015-01-04 14:25:32(098)]        Load BRMediaCore.dll success!(V5.1 Build Time:Oct 13 2014 19:11:09)
[2015-01-04 14:25:32(191)]        Invoke        BRAC_Connect(10.72.1.109,8906)=0
[2015-01-04 14:25:32(191)]        Invoke        LoginServer(username=562)
[2015-01-04 14:25:32(299)]        CheckClientSocketLink         Connect(ip=10.72.1.109,port=8906)
[2015-01-04 14:25:32(422)]        Server version: V5.1(Build Time:2014-11-21 09:41:20, Server OS:Windows)
[2015-01-04 14:25:32(623)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-01-04 14:25:33(905)]        Message        OnLoginSystem(userid=562,errorcode=0,username=562), msg deliver worked(1)
[2015-01-04 14:25:33(955)]        Connection to streaming media server successfully!(udp delay:23ms)
[2015-01-04 14:25:34(006)]        Invoke        EnterRoom(roomid=13475115)
[2015-01-04 14:25:34(391)]        Message        OnEnterRoom(roomid=13475115,errorcode=0,siteindex=1)
[2015-01-04 14:25:34(393)]        Message        OnReceiveOnlineUser(count=2,roomid=13475115)
[2015-01-04 14:25:34(402)]        Message        OnUserEnterRoom(userid=562,nickname=562,siteindex=1)
[2015-01-04 14:25:34(403)]        Invoke        UserCameraControl(userid=562,bOpen=1)
[2015-01-04 14:25:34(414)]        WaveIn Audio Capture Driver(麦克风 (2- USB2.0 MIC))
[2015-01-04 14:25:34(415)]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2015-01-04 14:25:34(415)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-01-04 14:25:34(432)]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2015-01-04 14:25:34(457)]        Invoke        UserCameraControl(userid=562,bOpen=1)
[2015-01-04 14:25:34(464)]        On Remote UserCameraControl(dwUserId:563, bOpen:1)
[2015-01-04 14:25:34(571)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:34(571)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:34(571)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:34(572)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:34(572)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:34(572)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:34(573)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:34(573)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:34(573)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:34(574)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:34(577)]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2015-01-04 14:25:34(618)]        video init finish:320x240, YUY2, fps:25
[2015-01-04 14:25:34(864)]        Message        OnP2PConnectState(userid=563, state=1)
[2015-01-04 14:25:34(895)]        Message        OnP2PConnectState(userid=562, state=1)
[2015-01-04 14:25:34(975)]        Message        OnP2PConnectState(userid=563, state=3)
[2015-01-04 14:25:35(015)]        Message        OnP2PConnectState(userid=562, state=3)
[2015-01-04 14:25:35(244)]        video codec init:codec:1, 15fps, 320x240, bitrate:90kbps, quality:3, preset:3, gop:30, handle:2
[2015-01-04 14:25:35(270)]        userid(562) video decode delay:0ms
[2015-01-04 14:25:36(490)]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:30, fps:12, preset:3, codec:1
[2015-01-04 14:25:37(240)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:37(241)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:37(241)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:37(242)]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:37(242)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:37(242)]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:37(243)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:37(243)]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:37(243)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559)
[2015-01-04 14:25:37(244)]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681)
[2015-01-04 14:25:37(247)]        Video Config Size(320, 240)        Format(YUY2, 25fps)
[2015-01-04 14:25:37(286)]        video init finish:320x240, YUY2, fps:25
[2015-01-04 14:25:38(244)]        video codec init:codec:1, 12fps, 320x240, bitrate:100kbps, quality:3, preset:3, gop:30, handle:3
[2015-01-04 14:27:44(132)]        Message        OnUserEnterRoom(userid=561,nickname=561,siteindex=2)
[2015-01-04 14:27:44(142)]        Message        OnUserEnterRoom(userid=561,nickname=561,siteindex=2)
[2015-01-04 14:27:45(998)]        Invoke        StreamRecordCtrlEx(-1, 1, 0x17, 0, )=0
[2015-01-04 14:27:48(140)]        Invoke        UserCameraControl(userid=561,bOpen=1)
[2015-01-04 14:27:48(140)]        Invoke        UserSpeakControl(userid=561,bOpen=1)
[2015-01-04 14:27:48(638)]        On Remote UserSpeakControl(dwUserId:561, bOpen:1)
[2015-01-04 14:27:48(794)]        On Remote UserCameraControl(dwUserId:561, bOpen:1)
[2015-01-04 14:27:49(126)]        userid(561) video decode delay:0ms
[2015-01-04 14:28:31(252)]        Invoke        UserCameraControl(userid=561,bOpen=0)
[2015-01-04 14:28:31(252)]        Invoke        UserSpeakControl(userid=561,bOpen=0)
[2015-01-04 14:28:31(253)]        Invoke        UserCameraControl(userid=562,bOpen=0)
[2015-01-04 14:28:31(253)]        Invoke        UserSpeakControl(userid=562,bOpen=0)
[2015-01-04 14:28:31(254)]        Invoke        StreamRecordCtrlEx(-1, 0, 0x17, 0, )=0
[2015-01-04 14:28:31(463)]        On Remote UserCameraControl(dwUserId:563, bOpen:0)
[2015-01-04 14:28:31(657)]        On Remote UserSpeakControl(dwUserId:561, bOpen:0)
[2015-01-04 14:28:31(888)]        On Remote UserCameraControl(dwUserId:561, bOpen:0)
[2015-01-04 14:29:09(707)]        Invoke        UserCameraControl(userid=562,bOpen=1)
[2015-01-04 14:29:09(708)]        Invoke        UserCameraControl(userid=561,bOpen=1)
[2015-01-04 14:29:09(708)]        Invoke        UserSpeakControl(userid=561,bOpen=1)
[2015-01-04 14:29:09(917)]        On Remote UserCameraControl(dwUserId:563, bOpen:1)
[2015-01-04 14:29:10(137)]        userid(561) video decode delay:0ms
[2015-01-04 14:29:11(709)]        Invoke        StreamRecordCtrlEx(-1, 1, 0x17, 0, )=0
[2015-01-04 14:29:12(100)]        On Remote UserSpeakControl(dwUserId:561, bOpen:1)
[2015-01-04 14:29:12(249)]        userid(562) video decode delay:0ms
[2015-01-04 14:29:12(258)]        On Remote UserCameraControl(dwUserId:561, bOpen:1)
[2015-01-04 14:29:38(203)]        Invoke        UserCameraControl(userid=561,bOpen=0)
[2015-01-04 14:29:38(203)]        Invoke        UserSpeakControl(userid=561,bOpen=0)
[2015-01-04 14:29:38(204)]        Invoke        UserCameraControl(userid=562,bOpen=0)
[2015-01-04 14:29:38(205)]        Invoke        UserSpeakControl(userid=562,bOpen=0)
[2015-01-04 14:29:38(205)]        Invoke        StreamRecordCtrlEx(-1, 0, 0x17, 0, )=0
[2015-01-04 14:29:38(435)]        On Remote UserCameraControl(dwUserId:563, bOpen:0)
[2015-01-04 14:29:38(614)]        On Remote UserSpeakControl(dwUserId:561, bOpen:0)
[2015-01-04 14:29:38(675)]        On Remote UserCameraControl(dwUserId:561, bOpen:0)
[2015-01-04 14:30:46(018)]        Invoke        UserCameraControl(userid=562,bOpen=1)
[2015-01-04 14:30:46(019)]        Invoke        UserCameraControl(userid=561,bOpen=1)
[2015-01-04 14:30:46(019)]        Invoke        UserSpeakControl(userid=561,bOpen=1)
[2015-01-04 14:30:46(085)]        On Remote UserCameraControl(dwUserId:563, bOpen:1)
[2015-01-04 14:30:46(826)]        userid(561) video decode delay:0ms
[2015-01-04 14:30:47(853)]        userid(562) video decode delay:0ms
[2015-01-04 14:30:48(020)]        Invoke        StreamRecordCtrlEx(-1, 1, 0x17, 0, )=0
[2015-01-04 14:30:48(426)]        On Remote UserSpeakControl(dwUserId:561, bOpen:1)
[2015-01-04 14:30:48(572)]        On Remote UserCameraControl(dwUserId:561, bOpen:1)
[2015-01-04 14:31:12(506)]        Invoke        UserCameraControl(userid=561,bOpen=0)
[2015-01-04 14:31:12(507)]        Invoke        UserSpeakControl(userid=561,bOpen=0)
[2015-01-04 14:31:12(508)]        Invoke        UserCameraControl(userid=562,bOpen=0)
[2015-01-04 14:31:12(508)]        Invoke        UserSpeakControl(userid=562,bOpen=0)
[2015-01-04 14:31:12(508)]        Invoke        StreamRecordCtrlEx(-1, 0, 0x17, 0, )=0
[2015-01-04 14:31:12(881)]        On Remote UserCameraControl(dwUserId:563, bOpen:0)
[2015-01-04 14:31:12(898)]        On Remote UserSpeakControl(dwUserId:561, bOpen:0)
[2015-01-04 14:31:13(077)]        On Remote UserCameraControl(dwUserId:561, bOpen:0)
[2015-01-04 14:31:21(627)]        Message        OnUserLeaveRoom(userid=561,siteindex=2)
[2015-01-04 14:31:21(628)]        Invoke        UserCameraControl(userid=561,bOpen=0)
[2015-01-04 14:31:21(628)]        Invoke        UserSpeakControl(userid=561,bOpen=0)
[2015-01-04 14:31:21(627)]        Message        OnUserLeaveRoom(userid=561,siteindex=2)
[2015-01-04 14:32:30(933)]        Invoke        LeaveRoom(roomid=-1)        Elapse:639 ms
[2015-01-04 14:32:30(961)]        Invoke        LogoutServer(userid=562)        Elapse:31 ms
[2015-01-04 14:32:30(971)]        Message        OnP2PConnectState(userid=562, state=2)
[2015-01-04 14:32:31(031)]        Invoke        BRAC_Release        Elapse:31 ms
[2015-01-04 14:32:31(184)]        Message        OnUserLeaveRoom(userid=562,siteindex=1)
[2015-01-04 14:32:31(185)]        Invoke        UserCameraControl(userid=562,bOpen=0)
[2015-01-04 14:32:31(185)]        Invoke        UserSpeakControl(userid=562,bOpen=0)
[2015-01-04 14:32:38(124)]        Invoke        LeaveRoom(roomid=-1)        Elapse:31 ms
[2015-01-04 14:32:38(168)]        Invoke        LogoutServer(userid=563)        Elapse:47 ms
[2015-01-04 14:32:38(204)]        Invoke        BRAC_Release        Elapse:16 ms



版本是5.1    SDK都已升级
结束录制视频 , 核心服务器有时候不回调业务服务器的结束录制回调函数?

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
沙发
发表于 2015-1-5 23:34:00 | 只看该作者
您好,看到日志有记录:
[2015-01-04 14:25:33(830)]        OnUserEnterRoomActionCallBack(UserId:563,RoomId:13475115)        Elapse:3369ms

请检查一下这段代码,为什么耗时有3369ms?里面有阻塞的任务执行?
另外上面的问题很容易重现吗?或者只是偶尔?
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
板凳
发表于 2015-1-6 00:53:54 | 只看该作者
上班后让研发的同事联系您,指导您打开更多的日志信息输出开关,帮您分析一下问题原因。
回复 支持 反对

使用道具 举报

5

主题

1269

帖子

3677

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3677
地板
发表于 2015-1-6 09:34:14 | 只看该作者
您好,请下载Windows的最新版本(AnyChat r4426),更新核心服务器和录像服务器,然后修j改核心服务器的配置文件AnyChatCoreServer.ini,增加配置项:
  1. [Debug Settings]
  2. OutputRecordTask=1
复制代码
会在核心服务器输出与录像有关的日志,可以更好的分析这个问题。在出现问题的时候,保留核心服务器和业务服务器日志,然后发给我们分析下。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 01:17 , Processed in 0.140596 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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