문제

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?

도움이 되었습니까?

해결책

Generic ways of customization are documented in Scheme Handlers and Byte-Stream Handlers:

The source resolver can create a media source from a URL or from a byte stream [...]. For URLs, the source resolver uses scheme handlers. For byte streams, it uses byte-stream handlers. [...]

To register a new scheme handler, add an entry whose name is the CLSID of the scheme handler, [...]

To register a new byte-stream handler, add an entry whose name is the CLSID of the handler, [...]

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top