MediaCapture问题-几分钟后相机关闭,未引发任何错误 [英] Problems with MediaCapture - cameras turn off after a few minutes, no errors thrown

查看:148
本文介绍了MediaCapture问题-几分钟后相机关闭,未引发任何错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


推荐答案

HoloPed:

Hi HoloPed :

感谢在那里发布.

>>这两个摄像机均为Logitech C920

>>Both cameras are Logitech C920

即使我不认为这与硬件问题有关,我也建议您可以尝试使用第三家公司的另一台相机.

Even though I don't think it is related to hardware problem , I also suggest you could try another camera from third company .

>>不会引发错误,不会调用mediaCapture_Failed事件. 由于我看不到您的代码,因此从您的描述来看,我猜没有编译和运行错误.

>>No error is thrown, the mediaCapture_Failed event is not called. Since I could not see your code ,from your description , I guess there is no compile and running error.

根据我的搜索,我认为这可能是由于禁用屏幕超时"引起的.有报告(未经证实,但值得考虑),该API导致电源问题用户电话上的按钮.你可以看 中的禁​​用屏幕超时" 部分.

Based on my search , I think it may be result from Disabling Screen Timeout,There have been reports (unconfirmed, but worth consideration) that this API is causing problems with the power button on user’s phones. you can watch the Disabling Screen Timeoutpart in this link below .

以下是链接: https://winplatform.wordpress.com/tag/mediacapture/

由于您的问题与UWP开发更相关,为了获得更好的支持,您还可以在UWP论坛中发布新主题:

Since your question is more related to UWP development , for better support ,you also can post a new thread in UWP forum:https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpdevelop

如果您对C#语法还有其他疑问,请随时告诉我.

If you have anything else about C# grammar ,please feel free to let me know .

最好的问候

朱文凯


这篇关于MediaCapture问题-几分钟后相机关闭,未引发任何错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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