设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

测试 AnyChatDemoForJava.jar 的时候,摄像头打不开

[复制链接]

2

主题

3

帖子

24

积分

新手上路

Rank: 1

积分
24
跳转到指定楼层
楼主
发表于 2018-3-14 09:16:07 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
运行demo中的.jar文件时,可以成功进入房间,笔记本上的摄像头也亮灯了,显示已经打开了,但是在客户端显示不出来。现象如上传发图片

日志记录为:
[2018-03-14 09:10:52(324)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2018-03-14 09:10:52(324)][I]        Load BRAnyChatCore.dll success!(V7.0 Build Time:Feb  5 2018 09:58:26)
[2018-03-14 09:10:52(324)][I]        Load BRMiscUtil.dll success!(V7.0 Build Time:Feb  5 2018 10:01:13)
[2018-03-14 09:10:52(404)][I]        Load BRMediaUtil.dll success!(V7.0 Build Time:Feb  5 2018 09:57:38)
[2018-03-14 09:10:52(404)][I]        Load BRMediaShow.dll success!(V7.0 Build Time:Feb  5 2018 10:01:14)
[2018-03-14 09:10:52(404)][I]        Load BRMediaCore.dll success!(V7.0 Build Time:Feb  5 2018 10:01:34)
[2018-03-14 09:10:52(454)][I]        Video capture device supported:
[2018-03-14 09:10:52(454)][I]                1-USB2.0 VGA UVC WebCam
[2018-03-14 09:10:52(454)][I]        Audio capture device supported:
[2018-03-14 09:10:52(454)][I]                1-麦克风 (Realtek High Definition Audio)
[2018-03-14 09:10:52(454)][I]        server net link reset...
[2018-03-14 09:10:57(484)][I]        Start network engine(IPv4 mode)...
[2018-03-14 09:10:57(484)][I]        Invoke        Connect(demo.anychat.cn,8906)=0
[2018-03-14 09:10:57(484)][I]        Invoke        Login(username:1)=0
[2018-03-14 09:10:57(514)][I]        Create anychatdnsserver connect:121.199.51.198(8906)
[2018-03-14 09:11:01(454)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2018-03-14 09:11:01(554)][I]        Start anychat server(121.199.51.198:8906) connect...
[2018-03-14 09:11:01(834)][I]        On connect anychat server return, errorcode: 0, appflags:0x460080, svrflags:0x10
[2018-03-14 09:11:02(074)][I]        m_ProtocolPipeLine, userid:0, local session:-252248355, peer session:0
[2018-03-14 09:11:02(074)][I]        Send login request...
[2018-03-14 09:11:02(074)][I]        Message        OnConnect(errorcode=0), session:199931F5-FE19-4AA0-BDE7-F1ABAA04DABA
[2018-03-14 09:11:03(104)][I]        On tcp connect app reg result, errorcode:0
[2018-03-14 09:11:03(164)][I]        Message        OnLoginSystem(userid=6037, errorcode=0, username=1)
[2018-03-14 09:11:03(164)][I]        Apply server config: mtu:1500, stream trans mode:0
[2018-03-14 09:11:03(164)][I]        Server running time: 53 days, 22 hours, 59 minutes, license mode:1, certlo:0x9feffff, hi:0xf7f)
[2018-03-14 09:11:03(164)][I]        Server supports the session hold feature for up to 30000 ms
[2018-03-14 09:11:03(304)][I]        On udp connect app reg result, errorcode:0
[2018-03-14 09:11:03(454)][I]        Connection to streaming media server(121.199.51.198:8907) successfully!(udp delay:140ms)
[2018-03-14 09:11:04(404)][I]        Invoke        EnterRoom(roomid=1)
[2018-03-14 09:11:04(724)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2018-03-14 09:11:04(724)][I]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2018-03-14 09:11:04(774)][I]        WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
[2018-03-14 09:11:04(774)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2018-03-14 09:11:04(825)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2018-03-14 09:11:04(872)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:11:04(875)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:11:04(877)][I]        Invoke        SetVideoPos(dwUserId:-1, hWnd:0x19055e, l:10, t:440, r:260, b:640, dwStreamIndex:0)
[2018-03-14 09:11:04(906)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2018-03-14 09:11:06(033)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(034)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(035)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(035)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(036)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(036)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(037)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(038)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(039)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(039)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(040)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:06(040)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:06(041)][I]        Prepare config camera(1-USB2.0 VGA UVC WebCam): 320x240, 25fps
[2018-03-14 09:11:06(043)][I]                The best video format is detected: YUY2
[2018-03-14 09:11:06(044)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2018-03-14 09:11:06(044)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2018-03-14 09:11:07(091)][I]        video(stream:0) init finish:320x240, YUY2, fps:30, codecid:1
[2018-03-14 09:11:27(958)][I]        Invoke        UserCameraControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:11:27(960)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:11:27(961)][I]        Prepare leaveroom......
[2018-03-14 09:11:27(985)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2018-03-14 09:11:27(986)][I]        Invoke        LeaveRoom(roomid=-1)=0        Elapse:16 ms
[2018-03-14 09:11:30(287)][I]        Invoke        EnterRoom(roomid=1)
[2018-03-14 09:11:30(647)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2018-03-14 09:11:30(647)][I]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2018-03-14 09:11:30(696)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:11:30(716)][I]        WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
[2018-03-14 09:11:30(726)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2018-03-14 09:11:30(726)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:11:30(726)][I]        Invoke        SetVideoPos(dwUserId:-1, hWnd:0xc0956, l:10, t:440, r:260, b:640, dwStreamIndex:0)
[2018-03-14 09:11:30(767)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2018-03-14 09:11:30(804)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2018-03-14 09:11:31(895)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(896)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(897)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(898)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(898)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(899)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(899)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(900)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(900)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(901)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(901)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:11:31(902)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:11:31(902)][I]        Prepare config camera(1-USB2.0 VGA UVC WebCam): 320x240, 25fps
[2018-03-14 09:11:31(905)][I]                The best video format is detected: YUY2
[2018-03-14 09:11:31(906)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2018-03-14 09:11:31(906)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2018-03-14 09:11:32(949)][I]        video(stream:0) init finish:320x240, YUY2, fps:30, codecid:1
[2018-03-14 09:11:36(271)][E]        OnSocketClose, index(3)-errorcode(0-10035), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:11:39(300)][E]        OnSocketClose, index(4)-errorcode(0-0), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:11:39(301)][E]        OnSocketClose, index(3)-errorcode(0-183), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:11:50(308)][I]        Invoke        UserCameraControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:11:50(310)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:11:50(311)][I]        Prepare leaveroom......
[2018-03-14 09:11:50(335)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2018-03-14 09:11:50(336)][I]        Invoke        LeaveRoom(roomid=-1)=0        Elapse:31 ms
[2018-03-14 09:12:02(260)][E]        OnSocketClose, index(3)-errorcode(0-0), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:12:05(333)][E]        OnSocketClose, index(4)-errorcode(0-10035), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:12:05(333)][E]        OnSocketClose, index(3)-errorcode(0-183), flags:0x10601, userid(-73341), master connect:0, list:0

[2018-03-14 09:13:56(634)][I]        Invoke        EnterRoom(roomid=1)
[2018-03-14 09:13:57(024)][I]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=2)
[2018-03-14 09:13:57(024)][I]        Message        OnReceiveOnlineUser(count=3,roomid=1)
[2018-03-14 09:13:57(077)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:13:57(096)][I]        WaveIn Audio Capture Driver(麦克风 (Realtek High Definition)
[2018-03-14 09:13:57(097)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2018-03-14 09:13:57(097)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2018-03-14 09:13:57(098)][I]        Invoke        SetVideoPos(dwUserId:-1, hWnd:0x11038a, l:10, t:440, r:260, b:640, dwStreamIndex:0)
[2018-03-14 09:13:57(127)][I]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2018-03-14 09:13:57(137)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2018-03-14 09:13:58(259)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(260)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(261)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(261)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(262)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(263)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(263)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(264)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(264)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(265)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(265)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2018-03-14 09:13:58(265)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2018-03-14 09:13:58(265)][I]        Prepare config camera(1-USB2.0 VGA UVC WebCam): 320x240, 25fps
[2018-03-14 09:13:58(265)][I]                The best video format is detected: YUY2
[2018-03-14 09:13:58(265)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2018-03-14 09:13:58(265)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2018-03-14 09:13:59(311)][I]        video(stream:0) init finish:320x240, YUY2, fps:30, codecid:1
[2018-03-14 09:14:24(364)][I]        Message        OnUserLeaveRoom(userid=-73461,siteindex=1)
[2018-03-14 09:14:28(622)][I]        Invoke        UserCameraControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:14:28(625)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=0) = 0
[2018-03-14 09:14:28(625)][I]        Prepare leaveroom......
[2018-03-14 09:14:28(655)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2018-03-14 09:14:28(657)][I]        Invoke        LeaveRoom(roomid=-1)=0        Elapse:31 ms






捕获.JPG (29.74 KB, 下载次数: 1691)

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

使用道具 举报

沙发
发表于 2018-3-14 09:44:11 | 只看该作者
您方便留下QQ号,我们远程协助帮您看看。
回复 支持 反对

使用道具 举报

2

主题

3

帖子

24

积分

新手上路

Rank: 1

积分
24
板凳
 楼主| 发表于 2018-3-14 09:48:28 | 只看该作者
佰锐科技-刘冬明 发表于 2018-3-14 09:44
您方便留下QQ号,我们远程协助帮您看看。

那太好了 , qq 1067472997
回复 支持 反对

使用道具 举报

地板
发表于 2018-3-14 09:53:04 | 只看该作者
无知少年 发表于 2018-3-14 09:48
那太好了 , qq 1067472997

要填您的真实名字。。。您加我吧。1066495964
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 13:15 , Processed in 0.169949 second(s), 24 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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