浏览器无法识别虚拟驱动程序凸轮 [英] Virtual Driver Cam not recognized by browser

查看:94
本文介绍了浏览器无法识别虚拟驱动程序凸轮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用


...如果该方法仍然有用或最好继续使用Media Foundation。


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



如果要将视频源公开给所有应用程序,则需要一个驱动程序(请参见上图的红色框)。即使您从头开始编写新的应用程序与问题中引用的DirectShow虚拟源也不容易,但仍然存在实现这种概念的应用程序。



在Media Foundation上的MSDN上的进一步阅读:如何注册实时媒体资源-媒体基金会


尽管从技术上讲,可以编写一个虚拟的驱动程序以显示为捕获设备,但策略可能会阻止这种情况。在Media Foundation中,设备必须具有证书才能显示为捕获设备,并且到目前为止,仅通过USB视频类驱动程序的实际硬件设备已经过认证。通过方案处理程序或带有字节流处理程序的文件类型支持方案是向应用程序公开新源的方法。



I'm playing with the "Capture Source Filter" from http://tmhare.mvps.org/downloads.htm. After registering the ax driver, I'm trying to understand its compatibility across applications that use video sources.

For example, Skype recognize it while browsers (Edge, Chrome) don't.

I wonder if it's a limitation of the used approach (DirectShow filter) or it's just a matter of configuration. The purpose of the question is to understand if that approach is still useful or it's better to move on Media Foundation.

解决方案

I described this here: Applicability of Virtual DirectShow Sources

Your virtual camera and the applications capable to recognize and pick it up are highlighted with green on the figure below.

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

Media Foundation does not even have a concept of virtual video source. It does not have a compatibility layer to connect to DirectShow video sources. Obviously, in other direction DirectShow applications won't be able to see virtual Media Foundation streams (well, again, because they do not exist in compatible concept in first place).

If you want to expose your video source to all applications, you need a driver for this (see red box on the figure above). Applciations exist out there that implement such concept, even though writing a new one from the ground up is not something compatibly easy with the DirectShow virtual source you referenced in your question.

Further reading on MSDN on Media Foundation: 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.

这篇关于浏览器无法识别虚拟驱动程序凸轮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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