AnyChat技术支持论坛
标题:
视频一段时间后,图像消失
[打印本页]
作者:
lincy
时间:
2015-4-13 10:02
标题:
视频一段时间后,图像消失
请问,windows客户端,视频一段时间后(约6、7分钟),图像突然就没了,对方和自己的图像都不显示了。但对方的界面(IE浏览器)中图像还是正常显示。
这是什么原因呢?
日志入下:
[2015-04-13 09:52:05(269)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-04-13 09:52:05(270)] Load BRAnyChatCore.dll success!(V5.2 Build Time:Feb 10 2015 14:09:19)
[2015-04-13 09:52:05(286)] Load BRMiscUtil.dll success!(V5.2 Build Time:Feb 10 2015 14:07:32)
[2015-04-13 09:52:05(313)] Load BRMediaUtil.dll success!(V5.2 Build Time:Feb 10 2015 14:07:48)
[2015-04-13 09:52:05(315)] Load BRMediaShow.dll success!(V5.2 Build Time:Feb 10 2015 14:07:40)
[2015-04-13 09:52:05(317)] Load BRMediaCore.dll success!(V5.2 Build Time:Feb 10 2015 14:08:00)
[2015-04-13 09:52:05(343)] Apply video parameter:1280x720, bitrate:600000, quality:0, gop:20, fps:12, preset:3, codec:0
[2015-04-13 09:52:05(344)] Invoke BRAC_Connect(192.168.52.144,8906)=0
[2015-04-13 09:52:05(344)] Invoke LoginServer(username=lincy)
[2015-04-13 09:52:05(344)] Invoke EnterRoom(lincy)
[2015-04-13 09:52:05(420)] CheckClientSocketLink Connect(ip=192.168.52.144,port=8906)
[2015-04-13 09:52:05(550)] Server version: V5.2(Build Time:2015-02-10 14:08:34, Server OS:Windows)
[2015-04-13 09:52:05(756)] Message OnConnect(bSuccess:1, errorcode=0)
[2015-04-13 09:52:06(216)] Message OnLoginSystem(userid=7,errorcode=0,username=lincy), msg deliver worked(1)
[2015-04-13 09:52:06(216)] Server running time: 2 days, 22 hours, 57 minutes, license mode:0
[2015-04-13 09:52:06(257)] Connection to streaming media server successfully!(udp delay:15ms)
[2015-04-13 09:52:06(467)] Message OnEnterRoom(roomid=25,errorcode=0,siteindex=0)
[2015-04-13 09:52:06(467)] Message OnReceiveOnlineUser(count=1,roomid=25)
[2015-04-13 09:52:06(467)] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0xa0d0e, l:0, t:0, r:332, b:283)
[2015-04-13 09:52:06(468)] Invoke UserCameraControl(userid=-1,bOpen=1)
[2015-04-13 09:52:06(468)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2015-04-13 09:52:06(490)] WaveIn Audio Capture Driver(麦克风 (HD Webcam C270))
[2015-04-13 09:52:06(490)] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2015-04-13 09:52:06(491)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-04-13 09:52:06(528)] Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2015-04-13 09:52:06(528)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-04-13 09:52:06(623)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(RGB24, 0x0)
[2015-04-13 09:52:06(624)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(RGB24, 0x0)
[2015-04-13 09:52:06(624)] MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(RGB24, 0x0)
[2015-04-13 09:52:06(625)] MinCroppingSize(320, 176) MaxCroppingSize(320, 176) Format(RGB24, 0x0)
[2015-04-13 09:52:06(625)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(RGB24, 0x0)
[2015-04-13 09:52:06(625)] MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(RGB24, 0x0)
[2015-04-13 09:52:06(626)] MinCroppingSize(432, 240) MaxCroppingSize(432, 240) Format(RGB24, 0x0)
[2015-04-13 09:52:06(626)] MinCroppingSize(544, 288) MaxCroppingSize(544, 288) Format(RGB24, 0x0)
[2015-04-13 09:52:06(626)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(RGB24, 0x0)
[2015-04-13 09:52:06(627)] MinCroppingSize(752, 416) MaxCroppingSize(752, 416) Format(RGB24, 0x0)
[2015-04-13 09:52:06(627)] MinCroppingSize(800, 448) MaxCroppingSize(800, 448) Format(RGB24, 0x0)
[2015-04-13 09:52:06(627)] MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(RGB24, 0x0)
[2015-04-13 09:52:06(628)] MinCroppingSize(864, 480) MaxCroppingSize(864, 480) Format(RGB24, 0x0)
[2015-04-13 09:52:06(628)] MinCroppingSize(960, 544) MaxCroppingSize(960, 544) Format(RGB24, 0x0)
[2015-04-13 09:52:06(628)] MinCroppingSize(960, 720) MaxCroppingSize(960, 720) Format(RGB24, 0x0)
[2015-04-13 09:52:06(629)] MinCroppingSize(1024, 576) MaxCroppingSize(1024, 576) Format(RGB24, 0x0)
[2015-04-13 09:52:06(629)] MinCroppingSize(1184, 656) MaxCroppingSize(1184, 656) Format(RGB24, 0x0)
[2015-04-13 09:52:06(629)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(RGB24, 0x0)
[2015-04-13 09:52:06(630)] MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(RGB24, 0x0)
[2015-04-13 09:52:06(630)] MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(630)] MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(631)] MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(631)] MinCroppingSize(320, 176) MaxCroppingSize(320, 176) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(631)] MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(632)] MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(632)] MinCroppingSize(432, 240) MaxCroppingSize(432, 240) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(632)] MinCroppingSize(544, 288) MaxCroppingSize(544, 288) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(633)] MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(633)] MinCroppingSize(752, 416) MaxCroppingSize(752, 416) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(633)] MinCroppingSize(800, 448) MaxCroppingSize(800, 448) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(634)] MinCroppingSize(800, 600) MaxCroppingSize(800, 600) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(634)] MinCroppingSize(864, 480) MaxCroppingSize(864, 480) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(634)] MinCroppingSize(960, 544) MaxCroppingSize(960, 544) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(635)] MinCroppingSize(960, 720) MaxCroppingSize(960, 720) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(635)] MinCroppingSize(1024, 576) MaxCroppingSize(1024, 576) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(635)] MinCroppingSize(1184, 656) MaxCroppingSize(1184, 656) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(636)] MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(636)] MinCroppingSize(1280, 960) MaxCroppingSize(1280, 960) Format(YUV420P, 0x30323449)
[2015-04-13 09:52:06(636)] Video Config Size(1280, 720) Format(RGB24, 12fps)
[2015-04-13 09:52:06(962)] Message OnUserEnterRoom(userid=-62,nickname=customerTTTNETPF_600500_1_321043067856330650_100003,siteindex=1)
[2015-04-13 09:52:06(967)] video init finish:1280x720, RGB24, fps:12
[2015-04-13 09:52:07(170)] Invoke BRAC_SetVideoPos(dwUserId:-62, hWnd:0x70cb4, l:0, t:0, r:557, b:337)
[2015-04-13 09:52:07(170)] Invoke UserCameraControl(userid=-62,bOpen=1)
[2015-04-13 09:52:07(170)] Invoke UserSpeakControl(userid=-62,bOpen=1)
[2015-04-13 09:52:07(403)] On Remote UserCameraControl(dwUserId:-62, bOpen:1)
[2015-04-13 09:52:07(403)] On Remote UserSpeakControl(dwUserId:-62, bOpen:1)
[2015-04-13 09:52:07(443)] Message OnP2PConnectState(userid=-62, state=1)
[2015-04-13 09:52:07(613)] Message OnP2PConnectState(userid=-62, state=3)
[2015-04-13 09:52:08(549)] video codec init:codec:1, 12fps, 1280x720, bitrate:600kbps, quality:0, preset:3, gop:20, handle:3
[2015-04-13 09:58:38(887)] Message OnP2PConnectState(userid=-62, state=2)
[2015-04-13 09:58:39(089)] Message OnUserLeaveRoom(userid=-62,siteindex=1)
[2015-04-13 09:58:45(169)] Invoke LeaveRoom(roomid=25) Elapse:468 ms
[2015-04-13 09:58:45(211)] Invoke LogoutServer(userid=7) Elapse:46 ms
[2015-04-13 09:58:45(237)] Invoke BRAC_Release Elapse:16 ms
作者:
lincy
时间:
2015-4-13 10:21
我好像找到规律了,就是每次房间界面最小化后再恢复就会出现这种情况
作者:
admin
时间:
2015-4-13 10:36
房间界面最小化是什么操作呢,是把整个程序最小化了吗,还是您自己的界面做了动态调整?
作者:
lincy
时间:
2015-4-13 10:47
admin 发表于 2015-4-13 10:36
房间界面最小化是什么操作呢,是把整个程序最小化了吗,还是您自己的界面做了动态调整?
就是点击最小化按钮
作者:
admin
时间:
2015-4-13 10:53
是运行的哪一个程序呢,试试标准示例工程:BRAnyChatSDKDemo.exe?
作者:
lincy
时间:
2015-4-13 11:16
我是在这个AnyChatCSharpDemo基础上改的,AnyChatCSharpDemo.exe最小化倒是没问题的。我再看下。
作者:
lincy
时间:
2015-4-13 11:24
本帖最后由 lincy 于 2015-4-13 11:32 编辑
发现问题了,我在窗体的sizechange响应事件里加了一段屏幕分辨率自适应代码,去掉这段代码就没问题了。不好意思,谢谢。
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3