在打开电脑usb连接的罗技C270摄像头时抛异常。一次异常后,只能重启,才能通过官方软件打开摄像头。
注:
1. 这个C270摄像头,我通过高通vuforia插件运行时是可以正常打开的
2. 单位机器配的C920摄像头运行正常,拿到家里机器仍然出现同样的问题。是系统需要什么配置吗
Error: CameraDevice.openWithIndex: failed with error code 0x80070005(拒绝访问。)
UnityEngine.Debug:LogError(Object)
easyar.<>c:<GlobalInitialization>b__30_0(LogLevel, String) (at Assets/EasyAR/Scripts/EasyARController.cs:95)
easyar.Detail:FunctorOfVoidFromLogLevelAndString_func(IntPtr, LogLevel, IntPtr, IntPtr&) (at Assets/EasyAR/Scripts/csapi.cs:2465)
easyar.Detail:easyar_CameraDevice_openWithIndex(IntPtr, Int32)
easyar.CameraDevice:openWithIndex(Int32) (at Assets/EasyAR/Scripts/csapi.cs:6547)
easyar.VideoCameraDevice:<Open>b__36_0(PermissionStatus, String) (at Assets/EasyAR/Scripts/VideoCameraDevice.cs:234)
easyar.Detail:FunctorOfVoidFromPermissionStatusAndString_func(IntPtr, PermissionStatus, IntPtr, IntPtr&) (at Assets/EasyAR/Scripts/csapi.cs:2418)
easyar.Detail:easyar_DelayedCallbackScheduler_runOne(IntPtr)
easyar.DelayedCallbackScheduler:runOne() (at Assets/EasyAR/Scripts/csapi.cs:7703)
easyar.EasyARController:Update() (at Assets/EasyAR/Scripts/EasyARController.cs:205)
Camera open failed
UnityEngine.Debug:LogError(Object)
easyar.VideoCameraDevice:<Open>b__36_0(PermissionStatus, String) (at Assets/EasyAR/Scripts/VideoCameraDevice.cs:241)
easyar.Detail:FunctorOfVoidFromPermissionStatusAndString_func(IntPtr, PermissionStatus, IntPtr, IntPtr&) (at Assets/EasyAR/Scripts/csapi.cs:2418)
easyar.Detail:easyar_DelayedCallbackScheduler_runOne(IntPtr)
easyar.DelayedCallbackScheduler:runOne() (at Assets/EasyAR/Scripts/csapi.cs:7703)
easyar.EasyARController:Update() (at Assets/EasyAR/Scripts/EasyARController.cs:205)