I want to customize Media Foundation's Source Resolver.
I would like to play files encrypted with DRM, and the extension is AVI, MPEG4 and possibly other.
How can I customize Source Resolver?
I want to customize Media Foundation's Source Resolver.
I would like to play files encrypted with DRM, and the extension is AVI, MPEG4 and possibly other.
How can I customize Source Resolver?
Scheme Handlers 和 Byte-Stream Handlers中记录了通用的自定义方式:
源解析器可以从 URL 或字节流 [...] 创建媒体源。对于 URL,源解析器使用方案处理程序。对于字节流,它使用字节流处理程序。[...]
要注册新的方案处理程序,请添加一个名称为方案处理程序的 CLSID 的条目,[...]
要注册一个新的字节流处理程序,请添加一个名称为处理程序的 CLSID 的条目,[...]