【问题标题】:Camera API in Windows Store appWindows 应用商店应用中的相机 API
【发布时间】:2015-03-05 20:59:04
【问题描述】:

Windows 提供 MediaCapture API 以与 Windows 商店应用程序中的网络摄像头配合使用。但我需要使用随相机提供的外部 API。它是 c++ .dll 文件。我无法获取相机。看起来 Windows 限制了通过外部 API 访问相机。

是否可以通过外部 API 而不是 Windows 商店应用程序中的原生 WinRT API 来使用网络摄像头?

【问题讨论】:

    标签: windows-8 windows-store-apps media webcam


    【解决方案1】:

    恐怕您不能,对捕获设备的访问受到限制,您需要为此使用最新的 WinRT API。 访问捕获界面(网络摄像头、麦克风...)的所有其他方式均不可用。用于访问捕获设备的“旧”MediaFoundation API 不可用。

    【讨论】:

      猜你喜欢
      • 2016-07-26
      • 2012-09-05
      • 1970-01-01
      • 2016-03-31
      • 1970-01-01
      • 2015-10-28
      • 1970-01-01
      • 1970-01-01
      • 2012-12-17
      相关资源
      最近更新 更多