设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 3667|回复: 6

【求助】摄像头打不开

[复制链接]

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
发表于 2017-9-20 17:59:40 | 显示全部楼层 |阅读模式
同样的Demo,我在本机能够进入房间后打开音视频,并且能够接收到音视频数据,
但是在同事的电脑上却打不开视频设备,已经使用用QQ视频聊天等方式确定摄像头没有问题的,
二楼附上打不开视频的Log
使用的是Windows SDK,两台电脑都是Win7 64位
回复

使用道具 举报

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
 楼主| 发表于 2017-9-20 18:00:11 | 显示全部楼层
[2017-09-20 17:07:14(095)][I]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2017-09-20 17:07:14(101)][I]        Load BRAnyChatCore.dll success!(V6.4 Build Time:Aug  9 2017 09:50:19)
[2017-09-20 17:07:14(108)][I]        Load BRMiscUtil.dll success!(V6.4 Build Time:Aug  9 2017 09:53:31)
[2017-09-20 17:07:14(189)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Aug  9 2017 09:49:35)
[2017-09-20 17:07:14(194)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Aug  9 2017 09:53:37)
[2017-09-20 17:07:14(200)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Aug  9 2017 09:53:55)
[2017-09-20 17:07:14(216)][I]        Video capture device supported:
[2017-09-20 17:07:14(221)][I]                1-Webcam C170
[2017-09-20 17:07:14(226)][I]        Audio capture device supported:
[2017-09-20 17:07:14(231)][I]                1-麦克风 (Webcam C170)
[2017-09-20 17:07:14(238)][I]        server net link reset...
[2017-09-20 17:07:14(246)][I]        Local Status: connect:0, login:0, logout:0, release:0, linkclose:0(reason:0)
[2017-09-20 17:07:14(250)][I]        Local Status: natreg:0, nattimes:0, inroom:0, tickout:0, curtime:593350640
[2017-09-20 17:07:14(256)][I]        Local Status: checknattime:-1, natkeeptime:-1
[2017-09-20 17:07:14(260)][I]        Invoke        SetSDKOption(BRAC_SO_CLOUD_APPGUID, A9A750AD-14B4-4837-ADD1-BD5D95644910)
[2017-09-20 17:07:14(313)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-09-20 17:07:14(318)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-09-20 17:07:14(323)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_CAPTUREMODE,0)
[2017-09-20 17:07:14(438)][I]        Start network engine(IPv4 mode)...
[2017-09-20 17:07:14(452)][I]        Invoke        Connect(cloud.anychat.cn,8906)=0
[2017-09-20 17:07:15(483)][I]        Create anychatdnsserver connect:120.76.165.13(8912)
[2017-09-20 17:07:15(594)][I]        Create anychatdnsserver connect:120.25.70.134(8912)
[2017-09-20 17:07:15(717)][I]        Create anychatdnsserver connect:121.41.5.231(8912)
[2017-09-20 17:07:15(769)][I]        Success connect to anychatdnsserver(120.76.165.13:8912, tcp:0)
[2017-09-20 17:07:15(854)][I]        Receive connect parameter from anychatdnsserver!
[2017-09-20 17:07:15(891)][I]        Receive server list from anychatdnsserver(count:1):
[2017-09-20 17:07:15(918)][I]                anychatcoreserver, id:-1317696816, ip:120.76.161.95(tcp:9500, udp:9500), OSinux, build Time:2017-09-07 17:23:16, version:6.4.0, serviceGuid:1EBF896B-9CB2-8C42-991A-53F617C2A7DE, machineGuid:6203FF77-F1D8-4649-9930-BD559DF4F84C
[2017-09-20 17:07:15(995)][I]                Create anychatcoreserver connect:10.170.167.70(9500, tcp:1)
[2017-09-20 17:07:16(044)][I]                Create anychatcoreserver connect:10.170.167.70(9500, tcp:0)
[2017-09-20 17:07:16(091)][I]                Create anychatcoreserver connect:120.76.161.95(9500, tcp:1)
[2017-09-20 17:07:16(131)][I]                Create anychatcoreserver connect:120.76.161.95(9500, tcp:0)
[2017-09-20 17:07:16(445)][I]                Trial connect anychatcoreserver(id:-1317696816) result: 120.76.161.95(9500,tcp:1), errorcode:0, avgtime:78ms
[2017-09-20 17:07:16(452)][I]        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
[2017-09-20 17:07:16(509)][I]                anychatcoreserver, 120.76.161.95(9500, tcp:1), avg time:78
[2017-09-20 17:07:16(543)][I]        On best connection result, errorcode:0, ip:120.76.161.95, port:9500, tcp:1
[2017-09-20 17:07:16(572)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.161.95(9500, tcp:1)
[2017-09-20 17:07:16(675)][I]        Start anychat server(120.76.161.95:9500) connect...
[2017-09-20 17:07:16(811)][I]        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
[2017-09-20 17:07:16(899)][I]        Server version: V6.4(Build Time:2017-09-07 17:23:45, Linux server)
[2017-09-20 17:07:16(988)][I]        m_ProtocolPipeLine, userid:0, local session:1567879700, peer session:0
[2017-09-20 17:07:16(994)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-09-20 17:07:17(013)][I]        Invoke        Login(username:222)=0
[2017-09-20 17:07:17(073)][I]        On tcp connect app reg result, errorcode:0
[2017-09-20 17:07:17(202)][I]        Message        OnLoginSystem(userid=-234,errorcode=0,username=222), msg deliver worked(1)
[2017-09-20 17:07:17(223)][I]        Apply server config: mtu:1500
[2017-09-20 17:07:17(229)][I]        Server running time: 11 days, 15 hours, 55 minutes, license mode:1, certlo:0x80025bf, hi:0x0)
[2017-09-20 17:07:17(235)][I]        Server supports the session hold feature for up to 20000 ms
[2017-09-20 17:07:17(246)][I]        Invoke        EnterRoom(roomid=10112)
[2017-09-20 17:07:17(331)][I]        On udp connect app reg result, errorcode:0
[2017-09-20 17:07:17(338)][I]        Connection to streaming media server(120.76.161.95:9500) successfully!(udp delay:39ms)
[2017-09-20 17:07:17(415)][I]        Message        OnEnterRoom(roomid=10112,errorcode=0,siteindex=0)
[2017-09-20 17:07:17(426)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10112)
[2017-09-20 17:07:17(463)][I]        WaveIn Audio Capture Driver(麦克风 (Webcam C170))
[2017-09-20 17:07:17(469)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-09-20 17:07:17(484)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2017-09-20 17:07:17(493)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 23850
[2017-09-20 17:07:17(499)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2017-09-20 17:07:17(551)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-09-20 17:07:17(763)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(793)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(799)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(822)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(832)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(854)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(862)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(868)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(890)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(896)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(902)][I]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(926)][I]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(933)][I]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(953)][I]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(962)][I]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:17(968)][I]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:17(994)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 30fps)
[2017-09-20 17:07:18(000)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-20 17:07:18(023)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(031)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(038)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(061)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(068)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(091)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(096)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(102)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(126)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(133)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(160)][I]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(167)][I]        MinCroppingSize(544, 288)        MaxCroppingSize(544, 288)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(193)][I]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(201)][I]        MinCroppingSize(432, 240)        MaxCroppingSize(432, 240)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(227)][I]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(233)][I]        MinCroppingSize(320, 176)        MaxCroppingSize(320, 176)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(252)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(262)][I]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(267)][I]        MinCroppingSize(800, 480)        MaxCroppingSize(800, 480)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(291)][I]        MinCroppingSize(800, 480)        MaxCroppingSize(800, 480)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(300)][I]        MinCroppingSize(1024, 768)        MaxCroppingSize(1024, 768)        Format(MJPG, 0x47504a4d, 30fps)
[2017-09-20 17:07:18(323)][I]        MinCroppingSize(1024, 768)        MaxCroppingSize(1024, 768)        Format(MJPG, 0x8d1181, 30fps)
[2017-09-20 17:07:18(329)][I]        Prepare config camera(1-Webcam C170): 320x240, 25fps
[2017-09-20 17:07:18(359)][I]                The best video format is detected: YUY2
[2017-09-20 17:07:18(365)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2017-09-20 17:07:18(370)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-09-20 17:07:18(396)][I]        ****Open Local Video Fail,ErrorCode:10090
[2017-09-20 17:07:56(343)][I]        Audio capture device lost, waveInAddBuffer=6
[2017-09-20 17:07:56(364)][I]        Audio capture device lost, waveInAddBuffer=6
[2017-09-20 17:07:56(371)][I]        Audio capture device lost, waveInAddBuffer=6
[2017-09-20 17:07:56(378)][I]        Audio capture device lost, waveInAddBuffer=6
[2017-09-20 17:07:57(870)][I]        Prepare logout......
[2017-09-20 17:07:57(881)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2017-09-20 17:07:57(926)][I]        Close network engine...
[2017-09-20 17:07:57(936)][I]        server net link reset...
[2017-09-20 17:07:57(942)][I]        Invoke        Logout()        Elapse:63 ms
[2017-09-20 17:07:57(948)][I]        Prepare release......
[2017-09-20 17:07:58(179)][I]        server net link reset...
[2017-09-20 17:07:58(196)][I]        Invoke        BRAC_Release        Elapse:235 ms
回复 支持 反对

使用道具 举报

发表于 2017-9-20 18:31:39 | 显示全部楼层
您好,由于Vista、Win7等系统的安全性较高,默认情况(UAC开启)下是不允许注册插件的,除非拥有管理员权限,所以可以先暂时关闭UAC,重启计算机然后再注册,注册成功后再开启UAC。可以参考下http://www.anychat.cn/faq/index. ... =167&artlang=zh
回复 支持 反对

使用道具 举报

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
 楼主| 发表于 2017-9-20 18:37:49 | 显示全部楼层
佰锐科技-刘冬明 发表于 2017-9-20 18:31
您好,由于Vista、Win7等系统的安全性较高,默认情况(UAC开启)下是不允许注册插件的,除非拥有管理员权限 ...

我查看我们的电脑的相关设置,都是默认为“从不通知”。为什么SDK还是打不开摄像头
回复 支持 反对

使用道具 举报

发表于 2017-9-20 18:50:07 | 显示全部楼层
此问题是当前媒体库没有加载成功,请关闭浏览器安装最新插件并重启电脑尝试下,同时您可以参考这个帖子http://bbs.anychat.cn/forum.php? ... &extra=page%3D1
回复 支持 反对

使用道具 举报

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
 楼主| 发表于 2017-9-21 09:50:24 | 显示全部楼层
佰锐科技-刘冬明 发表于 2017-9-20 18:50
此问题是当前媒体库没有加载成功,请关闭浏览器安装最新插件并重启电脑尝试下,同时您可以参考这个帖子http ...

查看帖子,发现将【brVideoSink.ax】文件放到应用程序目录下就好了,请问这是什么文件?作用是什么
回复 支持 反对

使用道具 举报

1

主题

9

帖子

87

积分

注册会员

Rank: 2

积分
87
发表于 2017-9-21 15:12:55 | 显示全部楼层
您好,这个底层库文件,视频相关的库文件。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-30 01:29 , Processed in 0.122839 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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