错误报告:Windows.Media.Capture.MediaCapture.InitializeAsync()抛出“拒绝访问”例外。 [英] Bug Report: Windows.Media.Capture.MediaCapture.InitializeAsync() throws "Access Denied" exception.

查看:484
本文介绍了错误报告:Windows.Media.Capture.MediaCapture.InitializeAsync()抛出“拒绝访问”例外。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在WP8.1 Update 1上,使用  Windows.Media.Capture.MediaCapture进行简单捕获会抛出"拒绝访问"。调用InitializeAsync()时,无论使用何种MediaCaptureInitializationSettings。  即使在Package.appxmanifest中声明了网络摄像头和麦克风
,也会发生这种情况。  相同的代码在模拟器上运行,但在设备上失败。


其他开发人员报告了同样的问题。  请参阅此处的讨论:



http://stackoverflow.com/questions/25224102/windows-phone-8-1-camera -initialisation-access-denied-exception





解决方案

感谢您报告此问题。


我已经复制了我的信仰使用高级相机样本会出现同样的问题。

更新:我已经确认产品组已发现此问题。



On WP8.1 Update 1, simple capture using Windows.Media.Capture.MediaCapture would throw "Access Denied" when InitializeAsync() is called, regardless of the MediaCaptureInitializationSettings used.  This happens even with webcam and microphone declared within Package.appxmanifest.  The same code works on the emulator, but it fails on the devices.

Other developers are reporting the same issue.  See the discussion here:

http://stackoverflow.com/questions/25224102/windows-phone-8-1-camera-initialisation-access-denied-exception

解决方案

Thanks for reporting the issue.

I have reproduced what I believe to be the same problem using the Advanced camera sample.
UPDATE: I have verified that the product group is aware of this issue.


这篇关于错误报告:Windows.Media.Capture.MediaCapture.InitializeAsync()抛出“拒绝访问”例外。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆