浏览器无法识别 Virtual Driver Cam

Virtual Driver Cam not recognized by browser

我正在玩 http://tmhare.mvps.org/downloads.htm 的 "Capture Source Filter"。 注册 ax 驱动程序后,我试图了解它在使用视频源的应用程序之间的兼容性。

例如,Skype 可以识别它,而浏览器(Edge,Chrome)则不能。

我想知道这是所用方法(DirectShow 过滤器)的限制还是只是配置问题。 这个问题的目的是了解这种方法是否仍然有用,或者最好继续 Media Foundation.

我在这里描述了这个:Applicability of Virtual DirectShow Sources

您的虚拟相机和能够识别和拾取它的应用程序在下图中以绿色突出显示。

... if that approach is still useful or it's better to move on Media Foundation.

Media Foundation连虚拟视频源的概念都没有。它没有连接到 DirectShow 视频源的兼容层。显然,在其他方向,DirectShow 应用程序将无法看到虚拟媒体基础流(好吧,再一次,因为它们首先不存在于兼容的概念中)。

如果你想把你的视频源暴露给所有的应用程序,你需要一个驱动程序(见上图红框)。那里存在实现这种概念的应用程序,即使从头开始编写一个新应用程序与您在问题中引用的 DirectShow 虚拟源兼容并不容易。

在媒体基金会的 MSDN 上进一步阅读:How to register a live media source - media foundation

Though it is technically possible to write a virtual driver that shows up as a capture device, policies will probably prevent this. In Media Foundation, a device must have a certificate to appear as a capture device, and so far only actual hardware devices through the USB video class driver have been certified. Supporting a scheme through a scheme handler, or a file type with a byte stream handler, is the way to expose a new source to applications.